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 Dec 31, 2022
1 parent 9df2ac0 commit 47bada4
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 @@ -197,7 +197,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 47bada4

Please sign in to comment.