Silence clippy lint

This commit is contained in:
Johannes Altmanninger 2024-05-03 09:35:36 +02:00
parent 4fa8d95b98
commit e1eeb3177e

View File

@ -933,7 +933,7 @@ impl<'a> IndentVisitor<'a> {
.copy_from_slice(&indents);
done = range.start() + command.end;
if parens.closing().len() < 1 {
if parens.closing().is_empty() {
self.unclosed = true;
}
}