From c3a5e084f6feeeb6707b798ff8889d42a33f32f2 Mon Sep 17 00:00:00 2001 From: "Victor M. Alvarez" Date: Sun, 18 Feb 2024 14:59:27 +0100 Subject: [PATCH] style: fix clippy warnings --- lib/build.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/build.rs b/lib/build.rs index 32e4c3857..5273a5303 100644 --- a/lib/build.rs +++ b/lib/build.rs @@ -84,11 +84,11 @@ fn main() { // relative to this `build.rs` file. if let Ok(path) = env::var("YRX_PROTOC_CONFIG_FILE") { let file = File::open(path.as_str()) - .expect(&*format!("error opening {}", path)); + .expect(*format!("error opening {}", path)); let reader = BufReader::new(file); let config: ProtocConfig = serde_json::from_reader(reader) - .expect(&*format!("invalid config file {}", path)); + .expect(*format!("invalid config file {}", path)); for path in config.includes { let path = fs::canonicalize(path).unwrap();