s/Fennel/Lua and add note about &'static str keys

This commit is contained in:
Andy Weidenbaum 2021-03-08 10:01:52 +11:00
parent 53432900c1
commit 33599cd9b6

View File

@ -42,8 +42,8 @@ impl UserData for Searcher {
}
}
/// Like `Searcher`, but with `modules` values encoded as `&'static str` to facilitate
/// compile-time includes of Fennel source code.
/// Like `Searcher`, but with `modules` keys and values encoded as `&'static str`
/// to facilitate compile-time includes of Lua source code.
struct StaticSearcher {
modules: HashMap<&'static str, &'static str>,
globals: RegistryKey,