From bb166d96e2142147bc62907ad76f90ddf068e493 Mon Sep 17 00:00:00 2001 From: Huw Walters Date: Mon, 30 Dec 2024 14:35:24 +0000 Subject: [PATCH] Make Clippy happy. --- src/compiler.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/compiler.rs b/src/compiler.rs index b794673c..aceebbb6 100644 --- a/src/compiler.rs +++ b/src/compiler.rs @@ -263,7 +263,7 @@ impl AmberCompiler { } if !paths.is_empty() { let files = if paths.len() > 1 { "Files" } else { "File" }; - let message = once(format!("{files} generated at:")).chain(paths.into_iter()).join("\n"); + let message = once(format!("{files} generated at:")).chain(paths).join("\n"); Message::new_info_msg(message).show(); } }