Skip to content

Commit

Permalink
temporarily suppress new clipply lint (#929)
Browse files Browse the repository at this point in the history
  • Loading branch information
cart authored Nov 26, 2020
1 parent de5ff0a commit bd5bd3b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions crates/bevy_type_registry/src/type_registry.rs
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,8 @@ impl ComponentRegistrationDefaults {
}
}

// NOTE: this code will be removed soon, so we're just suppressing the new clippy lint
#[allow(clippy::clippy::unnecessary_wraps)]
fn map_entities(_world: &mut World, _entity_map: &EntityMap) -> Result<(), MapEntitiesError> {
Ok(())
}
Expand Down

0 comments on commit bd5bd3b

Please sign in to comment.