mirror of
https://github.com/zed-industries/zed.git
synced 2025-01-24 11:01:54 +00:00
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
This commit is contained in:
parent
0150eaf8c7
commit
72f1b32cc5
1 changed files with 0 additions and 2 deletions
|
@ -3470,11 +3470,9 @@ impl ProjectPanel {
|
||||||
)
|
)
|
||||||
})
|
})
|
||||||
.child(if let Some(icon) = &icon {
|
.child(if let Some(icon) = &icon {
|
||||||
// Check if there's a diagnostic severity and get the decoration color
|
|
||||||
if let Some((_, decoration_color)) =
|
if let Some((_, decoration_color)) =
|
||||||
entry_diagnostic_aware_icon_decoration_and_color(diagnostic_severity)
|
entry_diagnostic_aware_icon_decoration_and_color(diagnostic_severity)
|
||||||
{
|
{
|
||||||
// Determine if the diagnostic is a warning
|
|
||||||
let is_warning = diagnostic_severity
|
let is_warning = diagnostic_severity
|
||||||
.map(|severity| matches!(severity, DiagnosticSeverity::WARNING))
|
.map(|severity| matches!(severity, DiagnosticSeverity::WARNING))
|
||||||
.unwrap_or(false);
|
.unwrap_or(false);
|
||||||
|
|
Loading…
Reference in a new issue