From ebe26e218bafad88c9ea813db0606a42dd2ab543 Mon Sep 17 00:00:00 2001 From: Gleb Novikov Date: Thu, 2 Jan 2025 13:45:20 +0000 Subject: [PATCH] cargo fmt --all --- compute_tools/src/bin/fast_import.rs | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/compute_tools/src/bin/fast_import.rs b/compute_tools/src/bin/fast_import.rs index d80910c4cc..dd1480eeff 100644 --- a/compute_tools/src/bin/fast_import.rs +++ b/compute_tools/src/bin/fast_import.rs @@ -202,7 +202,13 @@ pub(crate) async fn main() -> anyhow::Result<()> { .args(["-c", &format!("max_parallel_workers={nproc}")]) .args(["-c", &format!("max_parallel_workers_per_gather={nproc}")]) .args(["-c", &format!("max_worker_processes={nproc}")]) - .args(["-c", &format!("effective_io_concurrency={}", if cfg!(target_os = "macos") { 0 } else { 100 })]) + .args([ + "-c", + &format!( + "effective_io_concurrency={}", + if cfg!(target_os = "macos") { 0 } else { 100 } + ), + ]) .env_clear() .stdout(std::process::Stdio::piped()) .stderr(std::process::Stdio::piped()) @@ -242,7 +248,7 @@ pub(crate) async fn main() -> anyhow::Result<()> { } } } - Err(_) => continue + Err(_) => continue, } }