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:
@@ -1117,7 +1117,7 @@ pub(crate) mod tests {
|
||||
|
||||
thread.read_with(cx, |thread, _| {
|
||||
entries_len = thread.plan().entries.len();
|
||||
assert!(thread.plan().entries.len() > 0, "Empty plan");
|
||||
assert!(!thread.plan().entries.is_empty(), "Empty plan");
|
||||
});
|
||||
|
||||
thread
|
||||
|
||||
Reference in New Issue
Block a user