Skip to content

Commit

Permalink
Make Clippy happy.
Browse files Browse the repository at this point in the history
  • Loading branch information
hdwalters committed Dec 30, 2024
1 parent c54058a commit bb166d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/compiler.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}
}
Expand Down

0 comments on commit bb166d9

Please sign in to comment.