cargo fmt

This commit is contained in:
BenjaminBrienen 2025-03-10 12:42:27 +01:00
parent 87f837cec7
commit 7535bb4661
571 changed files with 2210 additions and 2458 deletions

View file

@ -202,11 +202,7 @@ pub fn trim_indent(mut text: &str) -> String {
text.split_inclusive('\n')
.map(
|line| {
if line.len() <= indent {
line.trim_start_matches(' ')
} else {
&line[indent..]
}
if line.len() <= indent { line.trim_start_matches(' ') } else { &line[indent..] }
},
)
.collect()