Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'crates/ide-diagnostics/src/handlers/remove_unnecessary_else.rs')
-rw-r--r--crates/ide-diagnostics/src/handlers/remove_unnecessary_else.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/crates/ide-diagnostics/src/handlers/remove_unnecessary_else.rs b/crates/ide-diagnostics/src/handlers/remove_unnecessary_else.rs
index a46c48608f..d055d36c2a 100644
--- a/crates/ide-diagnostics/src/handlers/remove_unnecessary_else.rs
+++ b/crates/ide-diagnostics/src/handlers/remove_unnecessary_else.rs
@@ -1,17 +1,17 @@
-use hir::{db::ExpandDatabase, diagnostics::RemoveUnnecessaryElse, HirFileIdExt};
+use hir::{HirFileIdExt, db::ExpandDatabase, diagnostics::RemoveUnnecessaryElse};
use ide_db::text_edit::TextEdit;
use ide_db::{assists::Assist, source_change::SourceChange};
use itertools::Itertools;
use syntax::{
+ AstNode, SyntaxToken, TextRange,
ast::{
self,
edit::{AstNodeEdit, IndentLevel},
},
- AstNode, SyntaxToken, TextRange,
};
use crate::{
- adjusted_display_range, fix, Diagnostic, DiagnosticCode, DiagnosticsContext, Severity,
+ Diagnostic, DiagnosticCode, DiagnosticsContext, Severity, adjusted_display_range, fix,
};
// Diagnostic: remove-unnecessary-else