diff --git a/src/state.rs b/src/state.rs index cdafc71..239139c 100644 --- a/src/state.rs +++ b/src/state.rs @@ -326,12 +326,6 @@ impl Lua { R::from_stack_multi(nresults, &lua) } - #[doc(hidden)] - #[deprecated(since = "0.10.0", note = "please use `load_std_libs` instead")] - pub fn load_from_std_lib(&self, libs: StdLib) -> Result<()> { - self.load_std_libs(libs) - } - /// Loads the specified subset of the standard libraries into an existing Lua state. /// /// Use the [`StdLib`] flags to specify the libraries you want to load. diff --git a/src/table.rs b/src/table.rs index 3f100ca..ae64311 100644 --- a/src/table.rs +++ b/src/table.rs @@ -511,13 +511,6 @@ impl Table { } } - #[doc(hidden)] - #[deprecated(since = "0.10.0", note = "please use `metatable` instead")] - #[cfg(not(tarpaulin_include))] - pub fn get_metatable(&self) -> Option { - self.metatable() - } - /// Sets or removes the metatable of this table. /// /// If `metatable` is `None`, the metatable is removed (if no metatable is set, this does diff --git a/src/userdata.rs b/src/userdata.rs index b8479ce..bb4ae21 100644 --- a/src/userdata.rs +++ b/src/userdata.rs @@ -895,12 +895,6 @@ impl AnyUserData { self.raw_metatable().map(UserDataMetatable) } - #[doc(hidden)] - #[deprecated(since = "0.10.0", note = "please use `metatable` instead")] - pub fn get_metatable(&self) -> Result { - self.metatable() - } - fn raw_metatable(&self) -> Result
{ let lua = self.0.lua.lock(); let state = lua.state();