mirror of
https://github.com/meilisearch/meilisearch.git
synced 2025-07-27 08:41:00 +00:00
fix clippy _once again_
This commit is contained in:
committed by
Clément Renault
parent
3979c9f02b
commit
07d39776f9
@ -75,7 +75,7 @@ impl IndexMapper {
|
||||
|
||||
/// Get or create the index.
|
||||
pub fn create_index(&self, mut wtxn: RwTxn, name: &str) -> Result<Index> {
|
||||
match self.index(&mut wtxn, name) {
|
||||
match self.index(&wtxn, name) {
|
||||
Ok(index) => {
|
||||
wtxn.commit()?;
|
||||
Ok(index)
|
||||
|
Reference in New Issue
Block a user