Skip to content

Commit

Permalink
remove migration method
Browse files Browse the repository at this point in the history
  • Loading branch information
jakobhellermann committed Jan 13, 2023
1 parent 17a8e7d commit 7cc5b86
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions crates/bevy_ecs/src/world/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -115,13 +115,6 @@ impl World {
InteriorMutableWorld::new(self)
}

/// Creates a new [`InteriorMutableWorld`] with read+write access from a [&World](World).
/// This is only a temporary measure until every `&World` that is semantically a [`InteriorMutableWorld`]
/// has been replaced.
pub(crate) fn as_interior_mutable_migration_internal(&self) -> InteriorMutableWorld<'_> {
InteriorMutableWorld::new(self)
}

/// Retrieves this world's [Entities] collection
#[inline]
pub fn entities(&self) -> &Entities {
Expand Down

0 comments on commit 7cc5b86

Please sign in to comment.