@@ -885,10 +885,10 @@ pub const fn without_provenance<T>(addr: usize) -> *const T {
885
885
/// This is useful for initializing types which lazily allocate, like
886
886
/// `Vec::new` does.
887
887
///
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.
892
892
#[ inline( always) ]
893
893
#[ must_use]
894
894
#[ stable( feature = "strict_provenance" , since = "1.84.0" ) ]
@@ -928,10 +928,10 @@ pub const fn without_provenance_mut<T>(addr: usize) -> *mut T {
928
928
/// This is useful for initializing types which lazily allocate, like
929
929
/// `Vec::new` does.
930
930
///
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.
935
935
#[ inline( always) ]
936
936
#[ must_use]
937
937
#[ stable( feature = "strict_provenance" , since = "1.84.0" ) ]
0 commit comments