Fix clippy::len_zero lint style violations (#36589)
Related: #36577 Release Notes: - N/A --------- Signed-off-by: Umesh Yadav <git@umesh.dev>
This commit is contained in:
@@ -461,7 +461,7 @@ impl PickerDelegate for TasksModalDelegate {
|
||||
tooltip_label_text.push_str(&resolved_task.resolved.command_label);
|
||||
}
|
||||
|
||||
if template.tags.len() > 0 {
|
||||
if !template.tags.is_empty() {
|
||||
tooltip_label_text.push('\n');
|
||||
tooltip_label_text.push_str(
|
||||
template
|
||||
|
||||
Reference in New Issue
Block a user