We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 14331e5 commit 588fa82Copy full SHA for 588fa82
crates/bevy_ecs/src/world/interior_mutable_world.rs
@@ -83,7 +83,7 @@ impl<'w> InteriorMutableWorld<'w> {
83
/// **Note**: You *must not* hand out a `&World` reference to arbitrary safe code when the [`InteriorMutableWorld`] is currently
84
/// being used for mutable accesses.
85
///
86
- /// # Safety:
+ /// # Safety
87
/// - the world must not be used to access any resources or components. You can use it to safely access metadata.
88
pub unsafe fn world(&self) -> &'w World {
89
self.0
0 commit comments