Skip to content
Snippets Groups Projects
Commit f49be317 authored by Peter Limkilde Svendsen's avatar Peter Limkilde Svendsen
Browse files

Use as-less cast

parent e24d27a0
No related branches found
No related tags found
No related merge requests found
Pipeline #9106 passed with warnings
......@@ -10,7 +10,7 @@ pub mod sys;
#[path = "redox.rs"]
pub mod sys;
pub(crate) const UTC: *const c_char = b"UTC\0" as *const u8 as *const c_char;
pub(crate) const UTC: *const c_char = b"UTC\0".as_ptr().cast();
pub(crate) const DAY_NAMES: [&str; 7] = ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"];
pub(crate) const MON_NAMES: [&str; 12] = [
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment