mirror of
https://github.com/bevyengine/bevy
synced 2024-11-22 12:43:34 +00:00
remove commented code and TODO as it's not actually possible (#2289)
Fixing it was tried in #2069 and deemed not possible (https://github.com/bevyengine/bevy/pull/2069#issuecomment-841775844) Other possibility would be to change the TODO to note the dependency on chalk integration.
This commit is contained in:
parent
0b67084e10
commit
6301b728ea
1 changed files with 0 additions and 11 deletions
|
@ -10,17 +10,6 @@ use crate::{
|
|||
use bevy_ecs_macros::all_tuples;
|
||||
use std::{cell::UnsafeCell, marker::PhantomData, ptr};
|
||||
|
||||
// TODO: uncomment this and use as shorthand (remove where F::Fetch: FilterFetch everywhere) when
|
||||
// this bug is fixed in Rust 1.51: https://github.com/rust-lang/rust/pull/81671
|
||||
// pub trait QueryFilter: WorldQuery
|
||||
// where
|
||||
// Self::Fetch: FilterFetch,
|
||||
// {
|
||||
// }
|
||||
|
||||
// impl<T: WorldQuery> QueryFilter for T where T::Fetch: FilterFetch {
|
||||
// }
|
||||
|
||||
/// Extension trait for [`Fetch`] containing methods used by query filters.
|
||||
/// This trait exists to allow "short circuit" behaviors for relevant query filter fetches.
|
||||
pub trait FilterFetch: for<'a> Fetch<'a> {
|
||||
|
|
Loading…
Reference in a new issue