@@ -885,10 +885,10 @@ pub const fn without_provenance<T>(addr: usize) -> *const T {
885885/// This is useful for initializing types which lazily allocate, like
886886/// `Vec::new` does.
887887///
888- /// Note that the pointer value may potentially represent a valid pointer to
889- /// a `T` , which means this must not be used as a "not yet initialized"
890- /// sentinel value. Types that lazily allocate must track initialization by
891- /// some other means.
888+ /// Note that the address of the returned pointer may potentially
889+ /// be that of a valid pointer , which means this must not be used
890+ /// as a "not yet initialized" sentinel value.
891+ /// Types that lazily allocate must track initialization by some other means.
892892#[ inline( always) ]
893893#[ must_use]
894894#[ stable( feature = "strict_provenance" , since = "1.84.0" ) ]
@@ -928,10 +928,10 @@ pub const fn without_provenance_mut<T>(addr: usize) -> *mut T {
928928/// This is useful for initializing types which lazily allocate, like
929929/// `Vec::new` does.
930930///
931- /// Note that the pointer value may potentially represent a valid pointer to
932- /// a `T` , which means this must not be used as a "not yet initialized"
933- /// sentinel value. Types that lazily allocate must track initialization by
934- /// some other means.
931+ /// Note that the address of the returned pointer may potentially
932+ /// be that of a valid pointer , which means this must not be used
933+ /// as a "not yet initialized" sentinel value.
934+ /// Types that lazily allocate must track initialization by some other means.
935935#[ inline( always) ]
936936#[ must_use]
937937#[ stable( feature = "strict_provenance" , since = "1.84.0" ) ]
0 commit comments