mirror of
https://github.com/rtic-rs/rtic.git
synced 2024-11-25 21:19:35 +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!(
|
values_mut.push(quote!(
|
||||||
#(#cfgs)*
|
#(#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) {
|
let ceiling = match analysis.ownerships.get(name) {
|
||||||
|
|
Loading…
Reference in a new issue