@@ -103,7 +103,8 @@ impl<'lua> IntoLua<'lua> for &OwnedString {
103
103
104
104
#[ inline]
105
105
unsafe fn push_into_stack ( self , lua : & ' lua Lua ) -> Result < ( ) > {
106
- Ok ( lua. push_owned_ref ( & self . 0 ) )
106
+ lua. push_owned_ref ( & self . 0 ) ;
107
+ Ok ( ( ) )
107
108
}
108
109
}
109
110
@@ -169,7 +170,8 @@ impl<'lua> IntoLua<'lua> for &OwnedTable {
169
170
170
171
#[ inline]
171
172
unsafe fn push_into_stack ( self , lua : & ' lua Lua ) -> Result < ( ) > {
172
- Ok ( lua. push_owned_ref ( & self . 0 ) )
173
+ lua. push_owned_ref ( & self . 0 ) ;
174
+ Ok ( ( ) )
173
175
}
174
176
}
175
177
@@ -235,7 +237,8 @@ impl<'lua> IntoLua<'lua> for &OwnedFunction {
235
237
236
238
#[ inline]
237
239
unsafe fn push_into_stack ( self , lua : & ' lua Lua ) -> Result < ( ) > {
238
- Ok ( lua. push_owned_ref ( & self . 0 ) )
240
+ lua. push_owned_ref ( & self . 0 ) ;
241
+ Ok ( ( ) )
239
242
}
240
243
}
241
244
@@ -301,7 +304,8 @@ impl<'lua> IntoLua<'lua> for &OwnedThread {
301
304
302
305
#[ inline]
303
306
unsafe fn push_into_stack ( self , lua : & ' lua Lua ) -> Result < ( ) > {
304
- Ok ( lua. push_owned_ref ( & self . 0 ) )
307
+ lua. push_owned_ref ( & self . 0 ) ;
308
+ Ok ( ( ) )
305
309
}
306
310
}
307
311
@@ -370,7 +374,8 @@ impl<'lua> IntoLua<'lua> for &OwnedAnyUserData {
370
374
371
375
#[ inline]
372
376
unsafe fn push_into_stack ( self , lua : & ' lua Lua ) -> Result < ( ) > {
373
- Ok ( lua. push_owned_ref ( & self . 0 ) )
377
+ lua. push_owned_ref ( & self . 0 ) ;
378
+ Ok ( ( ) )
374
379
}
375
380
}
376
381
0 commit comments