From 3829b72212e7a8cc215174a2d7bc2c2096e7e563 Mon Sep 17 00:00:00 2001 From: Alex Orlenko Date: Mon, 3 May 2021 22:17:34 +0100 Subject: [PATCH] Update code docs --- src/lib.rs | 4 ++-- src/lua.rs | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index 4735aca..278f24e 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -51,8 +51,8 @@ //! //! [Lua programming language]: https://www.lua.org/ //! [`Lua`]: struct.Lua.html -//! [executing]: struct.Lua.html#method.exec -//! [evaluating]: struct.Lua.html#method.eval +//! [executing]: struct.Chunk.html#method.exec +//! [evaluating]: struct.Chunk.html#method.eval //! [globals]: struct.Lua.html#method.globals //! [`ToLua`]: trait.ToLua.html //! [`FromLua`]: trait.FromLua.html diff --git a/src/lua.rs b/src/lua.rs index b4a734a..f175306 100644 --- a/src/lua.rs +++ b/src/lua.rs @@ -57,7 +57,7 @@ pub struct Lua { _no_ref_unwind_safe: PhantomData>, } -// Data associated with the lua_State. +// Data associated with the Lua. struct ExtraData { registered_userdata: HashMap, registered_userdata_mt: HashSet,