Skip to content

Commit

Permalink
Resolve comments
Browse files Browse the repository at this point in the history
  • Loading branch information
cart committed Sep 10, 2023
1 parent 888bf77 commit 2f4b1aa
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions crates/bevy_asset/src/path.rs
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ use std::{
/// clones internal owned [`AssetPaths`](AssetPath).
/// This also means that you should use [`AssetPath::new`] in cases where `&str` is the explicit type.
#[derive(Eq, PartialEq, Hash, Clone, Default)]
// #[reflect(Debug, PartialEq, Hash, Serialize, Deserialize)]
pub struct AssetPath<'a> {
path: CowArc<'a, Path>,
label: Option<CowArc<'a, str>>,
Expand Down Expand Up @@ -280,7 +279,6 @@ impl<'de> Visitor<'de> for AssetPathVisitor {
// See https://github.com/bevyengine/bevy/issues/9747
// NOTE: This could use `impl_reflect_value` if it supported static lifetimes.

#[allow(unused_mut)]
impl GetTypeRegistration for AssetPath<'static> {
fn get_type_registration() -> TypeRegistration {
let mut registration = TypeRegistration::of::<Self>();
Expand Down

0 comments on commit 2f4b1aa

Please sign in to comment.