diff --git a/crates/bevy_ecs/hecs/src/query.rs b/crates/bevy_ecs/hecs/src/query.rs index 5486c1d23d8a2..18c4835a28234 100644 --- a/crates/bevy_ecs/hecs/src/query.rs +++ b/crates/bevy_ecs/hecs/src/query.rs @@ -625,8 +625,8 @@ pub struct QueryIter<'w, Q: Query> { } impl<'w, Q: Query> QueryIter<'w, Q> { - // #[allow(clippy::declare_interior_mutable_const)] // no trait bounds on const fns - // const EMPTY: Q::Fetch = Q::Fetch::DANGLING; + #[allow(clippy::declare_interior_mutable_const)] // no trait bounds on const fns + // const EMPTY: Q::Fetch = Q::Fetch::DANGLING; const EMPTY: ChunkInfo = ChunkInfo { fetch: Q::Fetch::DANGLING, len: 0,