Skip to content

Commit 47bada4

Browse files
remove note about validity copied from non unchecked_mut variant
1 parent 9df2ac0 commit 47bada4

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
@@ -197,7 +197,7 @@ impl<'w> EntityRef<'w> {
197197
/// compile time.**
198198
///
199199
/// Unlike [`EntityRef::get`], this returns a raw pointer to the component,
200-
/// which is only valid while the `'w` borrow of the lifetime is active.
200+
/// instead of a reference.
201201
///
202202
/// # Safety
203203
///

0 commit comments

Comments
 (0)