We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8a1f803 commit 496adcfCopy full SHA for 496adcf
library/core/src/slice/iter.rs
@@ -68,7 +68,7 @@ pub struct Iter<'a, T: 'a> {
68
ptr: NonNull<T>,
69
/// For non-ZSTs, the non-null pointer to the past-the-end element.
70
///
71
- /// For ZSTs, this is `ptr::dangling(len)`.
+ /// For ZSTs, this is `ptr::without_provenance_mut(len)`.
72
end_or_len: *const T,
73
_marker: PhantomData<&'a T>,
74
}
0 commit comments