File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ macro_rules! h {
44
44
#[ allow( clippy:: declare_interior_mutable_const) ]
45
45
const RESULT : $crate:: HSTRING = {
46
46
if OUTPUT_LEN == 1 {
47
- unsafe { :: std :: mem:: transmute( :: std :: ptr:: null:: <u16 >( ) ) }
47
+ unsafe { :: core :: mem:: transmute( :: core :: ptr:: null:: <u16 >( ) ) }
48
48
} else {
49
49
const OUTPUT : $crate:: PCWSTR = $crate:: w!( $s) ;
50
50
const HEADER : $crate:: HSTRING_HEADER = $crate:: HSTRING_HEADER {
@@ -56,7 +56,7 @@ macro_rules! h {
56
56
} ;
57
57
// SAFETY: an `HSTRING` is exactly equivalent to a pointer to an `HSTRING_HEADER`
58
58
unsafe {
59
- :: std :: mem:: transmute:: <& $crate:: HSTRING_HEADER , $crate:: HSTRING >( & HEADER )
59
+ :: core :: mem:: transmute:: <& $crate:: HSTRING_HEADER , $crate:: HSTRING >( & HEADER )
60
60
}
61
61
}
62
62
} ;
You can’t perform that action at this time.
0 commit comments