diff --git a/crates/bevy_asset/src/path.rs b/crates/bevy_asset/src/path.rs index 1cfbc87dcc33d..8cec8282e2e58 100644 --- a/crates/bevy_asset/src/path.rs +++ b/crates/bevy_asset/src/path.rs @@ -8,7 +8,7 @@ use std::{ }; /// Represents a path to an asset in the file system. -#[derive(Debug, Hash, Clone, Serialize, Deserialize)] +#[derive(Debug, Eq, PartialEq, Hash, Clone, Serialize, Deserialize)] pub struct AssetPath<'a> { path: Cow<'a, Path>, label: Option>,