From c7545e6c6a39b3ae82ca8a4906380fe6fc55b3dd Mon Sep 17 00:00:00 2001 From: IceSentry Date: Sat, 7 May 2022 17:32:37 -0400 Subject: [PATCH] rephrase is_empty docs --- crates/bevy_ecs/src/event.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/bevy_ecs/src/event.rs b/crates/bevy_ecs/src/event.rs index 056262cc62843a..96c10d89d6be6a 100644 --- a/crates/bevy_ecs/src/event.rs +++ b/crates/bevy_ecs/src/event.rs @@ -284,7 +284,7 @@ impl<'w, 's, T: Resource> EventReader<'w, 's, T> { self.events.event_reader_len(self.last_event_count.0) } - /// Determines if there are any events available to be read without consuming any. + /// Determines if no events are available to be read without consuming any. /// If you need to consume the iterator you can use [`EventReader::any`] /// WARNING: `events.is_empty()` is not the same as doing `!events.any()` pub fn is_empty(&self) -> bool {