Skip to content

Commit

Permalink
remove note about validity copied from non unchecked_mut variant
Browse files Browse the repository at this point in the history
  • Loading branch information
jakobhellermann committed Nov 8, 2022
1 parent 32d04bd commit 6cf5c66
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/bevy_ecs/src/world/entity_ref.rs
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ impl<'w> EntityRef<'w> {
/// compile time.**
///
/// Unlike [`EntityRef::get`], this returns a raw pointer to the component,
/// which is only valid while the `'w` borrow of the lifetime is active.
/// instead of a reference.
///
/// # Safety
///
Expand Down

0 comments on commit 6cf5c66

Please sign in to comment.