summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/lua.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lua.rs b/src/lua.rs
index 58725b9..65d03d9 100644
--- a/src/lua.rs
+++ b/src/lua.rs
@@ -522,7 +522,7 @@ impl Lua {
/// Removes a named value in the Lua registry.
///
- /// Equivalent to calling [`Lua::set_named_registry_value`] with a value of Nil.
+ /// Equivalent to calling [`set_named_registry_value`] with a value of Nil.
///
/// [`set_named_registry_value`]: #method.set_named_registry_value
pub fn unset_named_registry_value<'lua>(&'lua self, name: &str) -> Result<()> {
@@ -1147,7 +1147,7 @@ impl<'lua, 'scope> Scope<'lua, 'scope> {
/// Create a Lua userdata object from a custom userdata type.
///
- /// This is a version of [`Lua::create_userdata`] that creates a callback which expires on scope
+ /// This is a version of [`Lua::create_userdata`] that creates a userdata which expires on scope
/// drop. See [`Lua::scope`] for more details.
///
/// [`Lua::create_userdata`]: struct.Lua.html#method.create_userdata