mirror of
https://github.com/meilisearch/MeiliSearch
synced 2024-11-26 23:04:26 +01:00
fix clippy
This commit is contained in:
parent
6aa816d96a
commit
7307c4dacd
@ -361,8 +361,8 @@ impl IndexScheduler {
|
|||||||
_ => panic!(),
|
_ => panic!(),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
match details {
|
if let Some(details) = details {
|
||||||
Some(details) => match details {
|
match details {
|
||||||
Details::IndexSwap { swaps: sw1 } => {
|
Details::IndexSwap { swaps: sw1 } => {
|
||||||
if let KindWithContent::IndexSwap { swaps: sw2 } = &kind {
|
if let KindWithContent::IndexSwap { swaps: sw2 } = &kind {
|
||||||
assert_eq!(&sw1, sw2);
|
assert_eq!(&sw1, sw2);
|
||||||
@ -458,8 +458,7 @@ impl IndexScheduler {
|
|||||||
matches!(&kind, KindWithContent::DumpCreation { dump_uid: d2, keys: _, instance_uid: _ } if &d1 == d2 )
|
matches!(&kind, KindWithContent::DumpCreation { dump_uid: d2, keys: _, instance_uid: _ } if &d1 == d2 )
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
},
|
}
|
||||||
None => (),
|
|
||||||
}
|
}
|
||||||
|
|
||||||
assert!(self.get_status(&rtxn, status).unwrap().contains(uid));
|
assert!(self.get_status(&rtxn, status).unwrap().contains(uid));
|
||||||
|
Loading…
Reference in New Issue
Block a user