From 0be68969568ff1aa086be37ef10f82704f2d2d1a Mon Sep 17 00:00:00 2001 From: Joy <51241057+maniwani@users.noreply.github.com> Date: Mon, 14 Mar 2022 13:11:13 -0700 Subject: [PATCH] fix incorrect doc --- crates/bevy_ecs/src/query/access.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/bevy_ecs/src/query/access.rs b/crates/bevy_ecs/src/query/access.rs index 86cc74fce61e42..fc76814e631cdb 100644 --- a/crates/bevy_ecs/src/query/access.rs +++ b/crates/bevy_ecs/src/query/access.rs @@ -216,7 +216,7 @@ impl FilteredAccess { self.without.union_with(&access.without); } - /// Returns `true` if the access can read all elements in the collection. + /// Sets the underlying unfiltered access as being able to read all elements in the collection. pub fn read_all(&mut self) { self.access.read_all(); }