chore: cargo fmt

This commit is contained in:
Guillaume Mourier 2022-09-01 22:37:07 +02:00
parent 3878c289df
commit d0f1054f5c

View File

@ -107,11 +107,19 @@ pub struct Opt {
pub import_snapshot: Option<PathBuf>, pub import_snapshot: Option<PathBuf>,
/// The engine will ignore a missing snapshot and not return an error in such case. /// The engine will ignore a missing snapshot and not return an error in such case.
#[clap(long, env = "MEILI_IGNORE_MISSING_SNAPSHOT", requires = "import-snapshot")] #[clap(
long,
env = "MEILI_IGNORE_MISSING_SNAPSHOT",
requires = "import-snapshot"
)]
pub ignore_missing_snapshot: bool, pub ignore_missing_snapshot: bool,
/// The engine will skip snapshot importation and not return an error in such case. /// The engine will skip snapshot importation and not return an error in such case.
#[clap(long, env = "MEILI_IGNORE_SNAPSHOT_IF_DB_EXISTS", requires = "import-snapshot")] #[clap(
long,
env = "MEILI_IGNORE_SNAPSHOT_IF_DB_EXISTS",
requires = "import-snapshot"
)]
pub ignore_snapshot_if_db_exists: bool, pub ignore_snapshot_if_db_exists: bool,
/// Defines the directory path where meilisearch will create snapshot each snapshot_time_gap. /// Defines the directory path where meilisearch will create snapshot each snapshot_time_gap.