Skip to content

Commit 588fa82

Browse files
remove : from Safety block
1 parent 14331e5 commit 588fa82

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/bevy_ecs/src/world/interior_mutable_world.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ impl<'w> InteriorMutableWorld<'w> {
8383
/// **Note**: You *must not* hand out a `&World` reference to arbitrary safe code when the [`InteriorMutableWorld`] is currently
8484
/// being used for mutable accesses.
8585
///
86-
/// # Safety:
86+
/// # Safety
8787
/// - the world must not be used to access any resources or components. You can use it to safely access metadata.
8888
pub unsafe fn world(&self) -> &'w World {
8989
self.0

0 commit comments

Comments
 (0)