From 6f6c6be1da4ccd458db77bc7facb086f26fe788b Mon Sep 17 00:00:00 2001 From: Andy Weidenbaum Date: Thu, 23 Dec 2021 12:18:09 +1100 Subject: [PATCH] fmt doc comments --- src/searcher.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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, }