mirror of
https://github.com/rtic-rs/rtic.git
synced 2024-11-29 15:04:32 +01:00
MaybeUninit dance
This commit is contained in:
parent
de94306128
commit
cbde2c7ef9
1 changed files with 1 additions and 2 deletions
|
@ -78,8 +78,7 @@ pub fn codegen(
|
|||
|
||||
values_mut.push(quote!(
|
||||
#(#cfgs)*
|
||||
#name: &mut *#mangled_name.get_mut_unchecked().as_mut_ptr()
|
||||
|
||||
#name: &mut *(&mut *#mangled_name.get_mut()).as_mut_ptr()
|
||||
));
|
||||
|
||||
let ceiling = match analysis.ownerships.get(name) {
|
||||
|
|
Loading…
Reference in a new issue