undeprecate component_reads_and_writes (#16357)

# 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
This commit is contained in:
François Mockers 2024-11-12 00:28:16 +01:00 committed by GitHub
parent 0249bb7686
commit 4225848b0a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -772,7 +772,7 @@ impl<T: SparseSetIndex> Access<T> {
/// `Access`, it's not recommended. Prefer to manage your own lists of /// `Access`, it's not recommended. Prefer to manage your own lists of
/// accessible components if your application needs to do that. /// accessible components if your application needs to do that.
#[doc(hidden)] #[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) { pub fn component_reads_and_writes(&self) -> (impl Iterator<Item = T> + '_, bool) {
( (
self.component_read_and_writes self.component_read_and_writes