Skip to content

Commit

Permalink
Update crates/bevy_ecs/src/world/unsafe_world_cell.rs
Browse files Browse the repository at this point in the history
Co-authored-by: James Liu <contact@jamessliu.com>
  • Loading branch information
BoxyUwU and james7132 committed Feb 3, 2023
1 parent 12f1a24 commit e2f5eb5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/bevy_ecs/src/world/unsafe_world_cell.rs
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ impl<'w> UnsafeWorldCell<'w> {
///
/// # Safety
/// - must have permission to access everything mutably
/// - there must be no borrows on world
/// - there must be no other borrows on world
/// - returned borrow must not be used in any way if the world is accessed
/// through other means than the `&mut World` after this call.
pub unsafe fn world_mut(self) -> &'w mut World {
Expand Down

0 comments on commit e2f5eb5

Please sign in to comment.