Skip to content

Commit c7a90b1

Browse files
Satisfy clippy
1 parent 0d5185e commit c7a90b1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/bevy_ecs/src/event.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -442,7 +442,7 @@ mod tests {
442442

443443
stage2.run(&mut world);
444444
let current_events = world.get_resource::<Events<E>>().unwrap();
445-
assert!(current_events.events_a.len() == 0);
445+
assert!(current_events.events_a.is_empty());
446446
}
447447

448448
#[test]

0 commit comments

Comments
 (0)