add missing documentation in config.lua and application source code

This commit is contained in:
neon_arch 2023-04-30 19:24:16 +03:00
parent 137c62ed5f
commit 4a505fb1d5
6 changed files with 50 additions and 18 deletions

View file

@ -106,6 +106,11 @@ impl RawSearchResult {
self.engine.push(engine)
}
/// A function which returns the engine name stored from the struct as a string.
///
/// # Returns
///
/// An engine name stored as a string from the struct.
pub fn engine(self) -> String {
self.engine.get(0).unwrap().to_string()
}