@@ -550,7 +550,7 @@ impl<'a, 'c: 'a> TypeResolver<'a, 'c> {
550
550
551
551
// List of structs we map (possibly during processing of other files):
552
552
"ln::features::InitFeatures" if is_ref => Some ( ".inner) }" ) ,
553
- "ln::features::InitFeatures" if !is_ref => Some ( ".take_ptr ()) }" ) ,
553
+ "ln::features::InitFeatures" if !is_ref => Some ( ".take_inner ()) }" ) ,
554
554
555
555
// List of traits we map (possibly during processing of other files):
556
556
"crate::util::logger::Logger" => Some ( "" ) ,
@@ -1410,7 +1410,7 @@ impl<'a, 'c: 'a> TypeResolver<'a, 'c> {
1410
1410
|w, decl_type, _full_path, is_ref, _is_mut| match decl_type {
1411
1411
DeclType :: StructImported if is_ref && ptr_for_ref => write ! ( w, ").inner }}" ) . unwrap ( ) ,
1412
1412
DeclType :: StructImported if is_ref => write ! ( w, ".inner }}" ) . unwrap ( ) ,
1413
- DeclType :: StructImported if !is_ref => write ! ( w, ".take_ptr ()) }}" ) . unwrap ( ) ,
1413
+ DeclType :: StructImported if !is_ref => write ! ( w, ".take_inner ()) }}" ) . unwrap ( ) ,
1414
1414
DeclType :: MirroredEnum if is_ref => write ! ( w, ".to_native()" ) . unwrap ( ) ,
1415
1415
DeclType :: MirroredEnum => write ! ( w, ".into_native()" ) . unwrap ( ) ,
1416
1416
DeclType :: Trait ( _) => { } ,
0 commit comments