mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-03 11:57:07 +02:00
clippy
This commit is contained in:
parent
3b2e467ca6
commit
15150db957
8 changed files with 13 additions and 16 deletions
|
@ -60,10 +60,7 @@ async fn perform_snapshot() {
|
|||
|
||||
let temp = tempfile::tempdir().unwrap();
|
||||
|
||||
let snapshot_path = snapshot_dir
|
||||
.path()
|
||||
.to_owned()
|
||||
.join("db.snapshot".to_string());
|
||||
let snapshot_path = snapshot_dir.path().to_owned().join("db.snapshot");
|
||||
|
||||
let options = Opt {
|
||||
import_snapshot: Some(snapshot_path),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue