Skip to content

Commit 87fa663

Browse files
committed
Remove deprecated functions
1 parent 1f97082 commit 87fa663

File tree

3 files changed

+0
-19
lines changed

3 files changed

+0
-19
lines changed

src/state.rs

-6
Original file line numberDiff line numberDiff line change
@@ -326,12 +326,6 @@ impl Lua {
326326
R::from_stack_multi(nresults, &lua)
327327
}
328328

329-
#[doc(hidden)]
330-
#[deprecated(since = "0.10.0", note = "please use `load_std_libs` instead")]
331-
pub fn load_from_std_lib(&self, libs: StdLib) -> Result<()> {
332-
self.load_std_libs(libs)
333-
}
334-
335329
/// Loads the specified subset of the standard libraries into an existing Lua state.
336330
///
337331
/// Use the [`StdLib`] flags to specify the libraries you want to load.

src/table.rs

-7
Original file line numberDiff line numberDiff line change
@@ -511,13 +511,6 @@ impl Table {
511511
}
512512
}
513513

514-
#[doc(hidden)]
515-
#[deprecated(since = "0.10.0", note = "please use `metatable` instead")]
516-
#[cfg(not(tarpaulin_include))]
517-
pub fn get_metatable(&self) -> Option<Table> {
518-
self.metatable()
519-
}
520-
521514
/// Sets or removes the metatable of this table.
522515
///
523516
/// If `metatable` is `None`, the metatable is removed (if no metatable is set, this does

src/userdata.rs

-6
Original file line numberDiff line numberDiff line change
@@ -895,12 +895,6 @@ impl AnyUserData {
895895
self.raw_metatable().map(UserDataMetatable)
896896
}
897897

898-
#[doc(hidden)]
899-
#[deprecated(since = "0.10.0", note = "please use `metatable` instead")]
900-
pub fn get_metatable(&self) -> Result<UserDataMetatable> {
901-
self.metatable()
902-
}
903-
904898
fn raw_metatable(&self) -> Result<Table> {
905899
let lua = self.0.lua.lock();
906900
let state = lua.state();

0 commit comments

Comments
 (0)