@@ -114,7 +114,7 @@ impl<T: Sized> NonNull<T> {
114114 ///
115115 /// * You must enforce Rust's aliasing rules, since the returned lifetime `'a` is
116116 /// arbitrarily chosen and does not necessarily reflect the actual lifetime of the data.
117- /// In particular, for the duration of this lifetime , the memory the pointer points to must
117+ /// In particular, while this reference exists , the memory the pointer points to must
118118 /// not get mutated (except inside `UnsafeCell`).
119119 ///
120120 /// This applies even if the result of this method is unused!
@@ -148,7 +148,7 @@ impl<T: Sized> NonNull<T> {
148148 ///
149149 /// * You must enforce Rust's aliasing rules, since the returned lifetime `'a` is
150150 /// arbitrarily chosen and does not necessarily reflect the actual lifetime of the data.
151- /// In particular, for the duration of this lifetime , the memory the pointer points to must
151+ /// In particular, while this reference exists , the memory the pointer points to must
152152 /// not get accessed (read or written) through any other pointer.
153153 ///
154154 /// This applies even if the result of this method is unused!
@@ -350,7 +350,7 @@ impl<T: ?Sized> NonNull<T> {
350350 ///
351351 /// * You must enforce Rust's aliasing rules, since the returned lifetime `'a` is
352352 /// arbitrarily chosen and does not necessarily reflect the actual lifetime of the data.
353- /// In particular, for the duration of this lifetime , the memory the pointer points to must
353+ /// In particular, while this reference exists , the memory the pointer points to must
354354 /// not get mutated (except inside `UnsafeCell`).
355355 ///
356356 /// This applies even if the result of this method is unused!
@@ -400,7 +400,7 @@ impl<T: ?Sized> NonNull<T> {
400400 ///
401401 /// * You must enforce Rust's aliasing rules, since the returned lifetime `'a` is
402402 /// arbitrarily chosen and does not necessarily reflect the actual lifetime of the data.
403- /// In particular, for the duration of this lifetime , the memory the pointer points to must
403+ /// In particular, while this reference exists , the memory the pointer points to must
404404 /// not get accessed (read or written) through any other pointer.
405405 ///
406406 /// This applies even if the result of this method is unused!
@@ -580,7 +580,7 @@ impl<T> NonNull<[T]> {
580580 ///
581581 /// * You must enforce Rust's aliasing rules, since the returned lifetime `'a` is
582582 /// arbitrarily chosen and does not necessarily reflect the actual lifetime of the data.
583- /// In particular, for the duration of this lifetime , the memory the pointer points to must
583+ /// In particular, while this reference exists , the memory the pointer points to must
584584 /// not get mutated (except inside `UnsafeCell`).
585585 ///
586586 /// This applies even if the result of this method is unused!
@@ -626,7 +626,7 @@ impl<T> NonNull<[T]> {
626626 ///
627627 /// * You must enforce Rust's aliasing rules, since the returned lifetime `'a` is
628628 /// arbitrarily chosen and does not necessarily reflect the actual lifetime of the data.
629- /// In particular, for the duration of this lifetime , the memory the pointer points to must
629+ /// In particular, while this reference exists , the memory the pointer points to must
630630 /// not get accessed (read or written) through any other pointer.
631631 ///
632632 /// This applies even if the result of this method is unused!
0 commit comments