aboutsummaryrefslogtreecommitdiff
path: root/crates/ide
diff options
context:
space:
mode:
authorIgor Aleksanov <[email protected]>2020-10-04 07:26:39 +0100
committerIgor Aleksanov <[email protected]>2020-10-12 09:05:00 +0100
commit9ea57cac0e9779ac0749ef568eeb3977fe3adacd (patch)
treec1a89dce0d234c6b193f3145c84779d229e27404 /crates/ide
parent50a147dcdfd0df462f0c24e5d7bcfe60abadac32 (diff)
Fix code style issues
Diffstat (limited to 'crates/ide')
-rw-r--r--crates/ide/src/diagnostics.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/crates/ide/src/diagnostics.rs b/crates/ide/src/diagnostics.rs
index 8e508639b..add102ff2 100644
--- a/crates/ide/src/diagnostics.rs
+++ b/crates/ide/src/diagnostics.rs
@@ -135,7 +135,6 @@ fn diagnostic_with_fix<D: DiagnosticWithFix>(d: &D, sema: &Semantics<RootDatabas
135 135
136fn warning_with_fix<D: DiagnosticWithFix>(d: &D, sema: &Semantics<RootDatabase>) -> Diagnostic { 136fn warning_with_fix<D: DiagnosticWithFix>(d: &D, sema: &Semantics<RootDatabase>) -> Diagnostic {
137 Diagnostic { 137 Diagnostic {
138 // name: Some(d.name().into()),
139 range: sema.diagnostics_display_range(d).range, 138 range: sema.diagnostics_display_range(d).range,
140 message: d.message(), 139 message: d.message(),
141 severity: Severity::WeakWarning, 140 severity: Severity::WeakWarning,