Skip to content

Commit

Permalink
chore: clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
nlopes committed Oct 2, 2024
1 parent ab64aa7 commit 340479c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion acdc-parser/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ impl crate::model::Parser for PestParser {
fn normalize(input: &str) -> String {
input
.lines()
.map(|line| line.trim_end())
.map(str::trim_end)
.collect::<Vec<&str>>()
.join("\n")
}
Expand Down

0 comments on commit 340479c

Please sign in to comment.