We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Lua::load_from_std_lib
1 parent c702077 commit 2c756e5Copy full SHA for 2c756e5
src/state.rs
@@ -306,7 +306,11 @@ impl Lua {
306
R::from_stack_multi(nresults, &lua)
307
}
308
309
- // FIXME: Deprecated load_from_std_lib
+ #[doc(hidden)]
310
+ #[deprecated(since = "0.10.0", note = "please use `load_std_libs` instead")]
311
+ pub fn load_from_std_lib(&self, libs: StdLib) -> Result<()> {
312
+ self.load_std_libs(libs)
313
+ }
314
315
/// Loads the specified subset of the standard libraries into an existing Lua state.
316
///
0 commit comments