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:
@@ -21030,7 +21030,7 @@ fn assert_breakpoint(
|
||||
path: &Arc<Path>,
|
||||
expected: Vec<(u32, Breakpoint)>,
|
||||
) {
|
||||
if expected.len() == 0usize {
|
||||
if expected.is_empty() {
|
||||
assert!(!breakpoints.contains_key(path), "{}", path.display());
|
||||
} else {
|
||||
let mut breakpoint = breakpoints
|
||||
|
||||
Reference in New Issue
Block a user