fix clippy

This commit is contained in:
Evan Almloff committed 2023-12-17 17:55:02 -06:00
1 parent e0ff6ce4da
commit 5ab0c48ddd
2 files changed
+16 -18

No files matched your search

-2
View File
@@ -147,8 +147,6 @@ async fn autoformat_project(check: bool) -> Result<()> {
return Ok(());
}
let indent = indentation_for(&files_to_format[0])?;
if files_to_format.is_empty() {
return Ok(());
}