mirror of
https://github.com/meilisearch/meilisearch.git
synced 2025-07-27 16:51:01 +00:00
fix clippy
This commit is contained in:
committed by
Clément Renault
parent
7e52f1effb
commit
9c00b159ba
@ -40,7 +40,8 @@ pub fn default_snapshot_settings_for_test<'a>(
|
||||
Cow::Owned(format!("{counter}"))
|
||||
};
|
||||
|
||||
let store_whole_snapshot = std::env::var("MEILI_TEST_FULL_SNAPS").unwrap_or("false".to_owned());
|
||||
let store_whole_snapshot =
|
||||
std::env::var("MEILI_TEST_FULL_SNAPS").unwrap_or_else(|_| "false".to_owned());
|
||||
let store_whole_snapshot: bool = store_whole_snapshot.parse().unwrap();
|
||||
|
||||
(settings, snap_name, store_whole_snapshot)
|
||||
|
Reference in New Issue
Block a user