From d7f01a1fff3698263ee3d93717f01f863175d2b0 Mon Sep 17 00:00:00 2001 From: Quantum Explorer Date: Tue, 20 Aug 2024 14:50:31 +0700 Subject: [PATCH] fix clippy warning --- grovedb/build.rs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/grovedb/build.rs b/grovedb/build.rs index d2185353..45be0d23 100644 --- a/grovedb/build.rs +++ b/grovedb/build.rs @@ -12,9 +12,11 @@ fn main() { let out_dir = PathBuf::from(&env::var_os("OUT_DIR").unwrap()); let grovedbg_zip_path = out_dir.join("grovedbg.zip"); - #[rustfmt::skip] if !grovedbg_zip_path.exists() { - let response = reqwest::blocking::get(format!("https://github.com/dashpay/grovedbg/releases/download/{GROVEDBG_VERSION}/grovedbg-{GROVEDBG_VERSION}.zip")) + let response = reqwest::blocking::get(format!( + "https://github.com/dashpay/grovedbg/releases/download/\ + {GROVEDBG_VERSION}/grovedbg-{GROVEDBG_VERSION}.zip" + )) .expect("can't download GroveDBG artifact"); let mut grovedbg_zip = File::create(&grovedbg_zip_path).unwrap();