fix clippy

This commit is contained in:
Irevoire
2022-10-22 16:35:42 +02:00
committed by Clément Renault
parent 874499a2d2
commit e9055f5572
31 changed files with 125 additions and 124 deletions

View File

@ -233,13 +233,13 @@ pub(crate) mod test {
let mut ident = String::new();
for _ in 0..depth {
ident.push_str(&"");
ident.push('│');
ident.push_str(&" ".repeat(4));
}
if idx == entries.len() - 1 {
ident.push_str(&"");
ident.push('└');
} else {
ident.push_str(&"");
ident.push('├');
}
ident.push_str(&"-".repeat(4));