@@ -302,7 +302,7 @@ impl<T: ?Sized> *mut T {
302
302
///
303
303
/// * You must enforce Rust's aliasing rules, since the returned lifetime `'a` is
304
304
/// arbitrarily chosen and does not necessarily reflect the actual lifetime of the data.
305
- /// In particular, for the duration of this lifetime , the memory the pointer points to must
305
+ /// In particular, while this reference exists , the memory the pointer points to must
306
306
/// not get mutated (except inside `UnsafeCell`).
307
307
///
308
308
/// This applies even if the result of this method is unused!
@@ -368,7 +368,7 @@ impl<T: ?Sized> *mut T {
368
368
///
369
369
/// * You must enforce Rust's aliasing rules, since the returned lifetime `'a` is
370
370
/// arbitrarily chosen and does not necessarily reflect the actual lifetime of the data.
371
- /// In particular, for the duration of this lifetime , the memory the pointer points to must
371
+ /// In particular, while this reference exists , the memory the pointer points to must
372
372
/// not get mutated (except inside `UnsafeCell`).
373
373
///
374
374
/// This applies even if the result of this method is unused!
@@ -550,7 +550,7 @@ impl<T: ?Sized> *mut T {
550
550
///
551
551
/// * You must enforce Rust's aliasing rules, since the returned lifetime `'a` is
552
552
/// arbitrarily chosen and does not necessarily reflect the actual lifetime of the data.
553
- /// In particular, for the duration of this lifetime , the memory the pointer points to must
553
+ /// In particular, while this reference exists , the memory the pointer points to must
554
554
/// not get accessed (read or written) through any other pointer.
555
555
///
556
556
/// This applies even if the result of this method is unused!
@@ -615,7 +615,7 @@ impl<T: ?Sized> *mut T {
615
615
///
616
616
/// * You must enforce Rust's aliasing rules, since the returned lifetime `'a` is
617
617
/// arbitrarily chosen and does not necessarily reflect the actual lifetime of the data.
618
- /// In particular, for the duration of this lifetime , the memory the pointer points to must
618
+ /// In particular, while this reference exists , the memory the pointer points to must
619
619
/// not get accessed (read or written) through any other pointer.
620
620
///
621
621
/// This applies even if the result of this method is unused!
@@ -1461,7 +1461,7 @@ impl<T> *mut [T] {
1461
1461
///
1462
1462
/// * You must enforce Rust's aliasing rules, since the returned lifetime `'a` is
1463
1463
/// arbitrarily chosen and does not necessarily reflect the actual lifetime of the data.
1464
- /// In particular, for the duration of this lifetime , the memory the pointer points to must
1464
+ /// In particular, while this reference exists , the memory the pointer points to must
1465
1465
/// not get mutated (except inside `UnsafeCell`).
1466
1466
///
1467
1467
/// This applies even if the result of this method is unused!
@@ -1513,7 +1513,7 @@ impl<T> *mut [T] {
1513
1513
///
1514
1514
/// * You must enforce Rust's aliasing rules, since the returned lifetime `'a` is
1515
1515
/// arbitrarily chosen and does not necessarily reflect the actual lifetime of the data.
1516
- /// In particular, for the duration of this lifetime , the memory the pointer points to must
1516
+ /// In particular, while this reference exists , the memory the pointer points to must
1517
1517
/// not get accessed (read or written) through any other pointer.
1518
1518
///
1519
1519
/// This applies even if the result of this method is unused!
0 commit comments