Skip to content

Commit 6cf5c66

Browse files
remove note about validity copied from non unchecked_mut variant
1 parent 32d04bd commit 6cf5c66

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/bevy_ecs/src/world/entity_ref.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ impl<'w> EntityRef<'w> {
136136
/// compile time.**
137137
///
138138
/// Unlike [`EntityRef::get`], this returns a raw pointer to the component,
139-
/// which is only valid while the `'w` borrow of the lifetime is active.
139+
/// instead of a reference.
140140
///
141141
/// # Safety
142142
///

0 commit comments

Comments
 (0)