Skip to content

Commit

Permalink
undeprecate component_reads_and_writes (#16357)
Browse files Browse the repository at this point in the history
# Objective

- Does not correct #16339 but takes it out of the 0.15 milestone

## Solution

- Make it future us problem instead of solving it now
  • Loading branch information
mockersf committed Nov 12, 2024
1 parent 53bf0ca commit a2fa4fa
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 @@ -772,7 +772,7 @@ impl<T: SparseSetIndex> Access<T> {
/// `Access`, it's not recommended. Prefer to manage your own lists of
/// accessible components if your application needs to do that.
#[doc(hidden)]
#[deprecated]
// TODO: this should be deprecated and removed, see https://github.com/bevyengine/bevy/issues/16339
pub fn component_reads_and_writes(&self) -> (impl Iterator<Item = T> + '_, bool) {
(
self.component_read_and_writes
Expand Down

0 comments on commit a2fa4fa

Please sign in to comment.