From 72f1b32cc540064b5fa2524e4f074ada6a87191a Mon Sep 17 00:00:00 2001 From: Marshall Bowers Date: Wed, 15 Jan 2025 12:20:36 -0500 Subject: [PATCH] project_panel: Remove useless comments (#23186) This PR removes some comments in the `project_panel` that are just restating what the code is doing. Release Notes: - N/A --- crates/project_panel/src/project_panel.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/crates/project_panel/src/project_panel.rs b/crates/project_panel/src/project_panel.rs index 5cdbd78ede..a9ed95745b 100644 --- a/crates/project_panel/src/project_panel.rs +++ b/crates/project_panel/src/project_panel.rs @@ -3470,11 +3470,9 @@ impl ProjectPanel { ) }) .child(if let Some(icon) = &icon { - // Check if there's a diagnostic severity and get the decoration color if let Some((_, decoration_color)) = entry_diagnostic_aware_icon_decoration_and_color(diagnostic_severity) { - // Determine if the diagnostic is a warning let is_warning = diagnostic_severity .map(|severity| matches!(severity, DiagnosticSeverity::WARNING)) .unwrap_or(false);