diff --git a/src/lua.rs b/src/lua.rs index 9aa654b..77a79a7 100644 --- a/src/lua.rs +++ b/src/lua.rs @@ -1721,6 +1721,8 @@ impl Lua { } /// Create a Lua userdata object from a custom userdata type. + /// + /// All userdata instances of type `T` shares the same metatable. #[inline] pub fn create_userdata(&self, data: T) -> Result where