Skip to content

Commit a020b2b

Browse files
committed
Remove functions deprecated in v0.9
1 parent 2c756e5 commit a020b2b

File tree

1 file changed

+0
-18
lines changed

1 file changed

+0
-18
lines changed

src/userdata.rs

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -739,12 +739,6 @@ impl AnyUserData {
739739
self.nth_user_value(1)
740740
}
741741

742-
#[doc(hidden)]
743-
#[deprecated(since = "0.9.0", note = "please use `user_value` instead")]
744-
pub fn get_user_value<V: FromLua>(&self) -> Result<V> {
745-
self.nth_user_value(1)
746-
}
747-
748742
/// Sets an associated `n`th value to this `AnyUserData`.
749743
///
750744
/// The value may be any Lua value whatsoever, and can be retrieved with [`nth_user_value`].
@@ -818,12 +812,6 @@ impl AnyUserData {
818812
}
819813
}
820814

821-
#[doc(hidden)]
822-
#[deprecated(since = "0.9.0", note = "please use `nth_user_value` instead")]
823-
pub fn get_nth_user_value<V: FromLua>(&self, n: usize) -> Result<V> {
824-
self.nth_user_value(n)
825-
}
826-
827815
/// Sets an associated value to this `AnyUserData` by name.
828816
///
829817
/// The value can be retrieved with [`named_user_value`].
@@ -880,12 +868,6 @@ impl AnyUserData {
880868
}
881869
}
882870

883-
#[doc(hidden)]
884-
#[deprecated(since = "0.9.0", note = "please use `named_user_value` instead")]
885-
pub fn get_named_user_value<V: FromLua>(&self, name: &str) -> Result<V> {
886-
self.named_user_value(name)
887-
}
888-
889871
/// Returns a metatable of this `UserData`.
890872
///
891873
/// Returned [`UserDataMetatable`] object wraps the original metatable and

0 commit comments

Comments
 (0)