Skip to content

Commit

Permalink
fix incorrect doc
Browse files Browse the repository at this point in the history
  • Loading branch information
maniwani committed Mar 14, 2022
1 parent ef8f60c commit 0be6896
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/bevy_ecs/src/query/access.rs
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ impl<T: SparseSetIndex> FilteredAccess<T> {
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();
}
Expand Down

0 comments on commit 0be6896

Please sign in to comment.