Skip to content
4 changes: 4 additions & 0 deletions crates/bevy_ecs/clippy.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
disallowed-methods = [
{ path = "UniqueEntityVec::from_iter", reason = "Use UniqueEntityVec::from_entity_set_iter if possible, it skips validation" },
{ path = "EntitySetIterator::collect::<UniqueEntityVec>", reason = "Use EntitySetIterator::collect_set if possible, it skips validation" },
]
4 changes: 4 additions & 0 deletions crates/bevy_ecs/src/entity/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,10 @@ pub use entity_set::*;
pub use map_entities::*;
pub use visit_entities::*;

mod unique_vec;

pub use unique_vec::*;

mod hash;
pub use hash::*;

Expand Down
Loading
Loading