bevy/crates/bevy_ptr/src
Joseph 77fd7bf7ce
Update safety docs for Ptr::assert_unique (#17394)
# Objective

The safety documentation for `Ptr::assert_unique` is incomplete.
Currently it only mentions the existence of other `Ptr` instances, but
it should also mention that the underlying data must be mutable and that
there cannot be active references to it.
2025-01-16 03:25:19 +00:00
..
lib.rs Update safety docs for Ptr::assert_unique (#17394) 2025-01-16 03:25:19 +00:00