diff --git a/src/searcher.rs b/src/searcher.rs index 0ee8734..f43830d 100644 --- a/src/searcher.rs +++ b/src/searcher.rs @@ -7,16 +7,16 @@ use std::path::{Path, PathBuf}; use crate::types::Result; -/// Stores Lua modules indexed by module name, and provides an `rlua::MetaMethod` -/// to enable `require`ing the stored modules by name in an `rlua::Context`. +/// Stores Lua modules indexed by module name, and provides an `rlua::MetaMethod` to +/// enable `require`ing the stored modules by name in an `rlua::Context`. struct Searcher { /// A `HashMap` of Lua modules in string representation, indexed by module name. /// /// Uses `Cow<'static, str>` types to allow both `&'static str` and owned `String`. modules: HashMap, Cow<'static, str>>, - /// An `rlua::RegistryKey` whose value is the Lua environment within which the - /// user made the request to instantiate a `Searcher` for `modules`. + /// An `rlua::RegistryKey` whose value is the Lua environment within which the user + /// made the request to instantiate a `Searcher` for `modules`. globals: RegistryKey, }