diff --git a/crates/bevy_platform_support/Cargo.toml b/crates/bevy_platform_support/Cargo.toml index cf5a660c25..75883a697c 100644 --- a/crates/bevy_platform_support/Cargo.toml +++ b/crates/bevy_platform_support/Cargo.toml @@ -58,9 +58,6 @@ hashbrown = { version = "0.15.1", features = [ "raw-entry", ], optional = true, default-features = false } -[dev-dependencies] -bevy_ecs = { path = "../bevy_ecs", version = "0.16.0-dev" } - [target.'cfg(target_arch = "wasm32")'.dependencies] web-time = { version = "1.1", default-features = false, optional = true } getrandom = { version = "0.2.0", default-features = false, optional = true, features = [ diff --git a/crates/bevy_platform_support/src/collections.rs b/crates/bevy_platform_support/src/collections.rs index e4f6a821f4..d3f11431e4 100644 --- a/crates/bevy_platform_support/src/collections.rs +++ b/crates/bevy_platform_support/src/collections.rs @@ -5,23 +5,6 @@ //! Note that due to the implementation details of [`hashbrown`], [`HashMap::new`] is only implemented for `HashMap`. //! Whereas, Bevy exports `HashMap` as its default [`HashMap`] type, meaning [`HashMap::new`] will typically fail. //! To bypass this issue, use [`HashMap::default`] instead. -//! -//! ``` -//! # use bevy_ecs::component::Component; -//! # use bevy_ecs::system::Commands; -//! # use bevy_platform_support::collections::HashMap; -//! -//! #[derive(Component)] -//! struct MyComponent { -//! map: HashMap -//! } -//! -//! fn my_system(mut commands: Commands) { -//! commands.spawn(MyComponent { -//! map: HashMap::default(), -//! }); -//! } -//! ``` pub use hash_map::HashMap; pub use hash_set::HashSet;