From 4225848b0aa08519e2715070b9e617813e3ac6ad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Mockers?= Date: Tue, 12 Nov 2024 00:28:16 +0100 Subject: [PATCH] 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 --- 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 28dba05f87..00167383fe 100644 --- a/crates/bevy_ecs/src/query/access.rs +++ b/crates/bevy_ecs/src/query/access.rs @@ -772,7 +772,7 @@ impl Access { /// `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 + '_, bool) { ( self.component_read_and_writes