lint
diff --git a/sparse_strips/vello_cpu/src/dispatch/single_threaded.rs b/sparse_strips/vello_cpu/src/dispatch/single_threaded.rs index 613aaab..09b8cc6 100644 --- a/sparse_strips/vello_cpu/src/dispatch/single_threaded.rs +++ b/sparse_strips/vello_cpu/src/dispatch/single_threaded.rs
@@ -261,13 +261,13 @@ ); // Ensure there is data to clear. - assert!(dispatcher.strip_storage.alphas.len() > 0); - assert!(dispatcher.wide.get(0, 0).cmds.len() > 0); + assert!(!dispatcher.strip_storage.alphas.is_empty()); + assert!(!dispatcher.wide.get(0, 0).cmds.is_empty()); dispatcher.reset(); // Verify buffers are cleared. - assert_eq!(dispatcher.strip_storage.alphas.len(), 0); - assert_eq!(dispatcher.wide.get(0, 0).cmds.len(), 0); + assert!(dispatcher.strip_storage.alphas.is_empty()); + assert!(dispatcher.wide.get(0, 0).cmds.is_empty()); } }