Fix missing absolute path to MaybeUninit
It's possible for `std` to mean something different from `::std` if the
user's ffi mod contains a type named `std`.
diff --git a/macro/src/expand.rs b/macro/src/expand.rs
index 3189bff..8223572 100644
--- a/macro/src/expand.rs
+++ b/macro/src/expand.rs
@@ -228,7 +228,7 @@
// These are arguments for which C++ has taken ownership of the data
// behind the mut reference it received.
quote! {
- let mut #var = std::mem::MaybeUninit::new(#var);
+ let mut #var = ::std::mem::MaybeUninit::new(#var);
}
})
.collect::<TokenStream>();