diff --git a/src/searcher.rs b/src/searcher.rs index f43830d..5ac5013 100644 --- a/src/searcher.rs +++ b/src/searcher.rs @@ -123,7 +123,7 @@ pub struct ClosureSearcher { /// /// 1. An `rlua::Context`, which the closure can do what it wants with. /// - /// 2. An `rlua::Table` containing globals (i.e. Lua’s `_G`), which can be passed + /// 2. An `rlua::Table` containing globals (i.e. Lua's `_G`), which can be passed /// to `Chunk.set_environment()`. /// /// 3. The name of the module to be loaded (`&str`). @@ -187,7 +187,7 @@ pub struct FunctionSearcher { /// /// 1. An `rlua::Context`, which the function body can do what it wants with. /// - /// 2. An `rlua::Table` containing globals (i.e. Lua’s `_G`), which can be passed + /// 2. An `rlua::Table` containing globals (i.e. Lua's `_G`), which can be passed /// to `Chunk.set_environment()`. /// /// 3. The name of the module to be loaded (`&str`). @@ -238,7 +238,7 @@ impl UserData for FunctionSearcher { /// Extend `rlua::Context` to support `require`ing Lua modules by name. pub trait AddSearcher { - /// Add a `HashMap` of Lua modules indexed by module name to Lua’s + /// Add a `HashMap` of Lua modules indexed by module name to Lua's /// `package.searchers` table in an `rlua::Context`, with lookup functionality /// provided by the `rlua_searcher::Searcher` struct. fn add_searcher(&self, modules: HashMap, Cow<'static, str>>) -> Result<()>; diff --git a/tests/tests.rs b/tests/tests.rs index 9639388..3b37820 100644 --- a/tests/tests.rs +++ b/tests/tests.rs @@ -126,7 +126,7 @@ fn module_reloading_works() { assert_eq!("hello lume", hello); - // Remove lume module from Lua’s `package.loaded` cache to facilitate reload. + // Remove lume module from Lua's `package.loaded` cache to facilitate reload. lua.context::<_, rlua::Result<()>>(|lua_ctx| { let globals = lua_ctx.globals(); let loaded: Table = globals.get::<_, Table>("package")?.get("loaded")?;