mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-04 04:17:10 +02:00
cargo fmt
This commit is contained in:
parent
f182afc50b
commit
dda08d60d2
14 changed files with 77 additions and 67 deletions
|
@ -52,7 +52,6 @@ impl FieldsMap {
|
|||
}
|
||||
}
|
||||
|
||||
|
||||
#[cfg(test)]
|
||||
mod tests {
|
||||
use super::*;
|
||||
|
|
|
@ -190,7 +190,7 @@ impl Schema {
|
|||
Ok(())
|
||||
}
|
||||
|
||||
pub fn set_all_fields_indexed(&mut self) {
|
||||
pub fn set_all_fields_as_indexed(&mut self) {
|
||||
self.indexed.clear();
|
||||
self.indexed_map.clear();
|
||||
|
||||
|
@ -201,7 +201,7 @@ impl Schema {
|
|||
}
|
||||
}
|
||||
|
||||
pub fn set_all_fields_displayed(&mut self) {
|
||||
pub fn set_all_fields_as_displayed(&mut self) {
|
||||
self.displayed.clear();
|
||||
|
||||
for (_name, id) in self.fields_map.iter() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue