Skip to content

Commit e2f5eb5

Browse files
BoxyUwUjames7132
andauthored
Update crates/bevy_ecs/src/world/unsafe_world_cell.rs
Co-authored-by: James Liu <contact@jamessliu.com>
1 parent 12f1a24 commit e2f5eb5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/bevy_ecs/src/world/unsafe_world_cell.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ impl<'w> UnsafeWorldCell<'w> {
9494
///
9595
/// # Safety
9696
/// - must have permission to access everything mutably
97-
/// - there must be no borrows on world
97+
/// - there must be no other borrows on world
9898
/// - returned borrow must not be used in any way if the world is accessed
9999
/// through other means than the `&mut World` after this call.
100100
pub unsafe fn world_mut(self) -> &'w mut World {

0 commit comments

Comments
 (0)