File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -437,8 +437,8 @@ impl<T> [T] {
437
437
/// The caller must ensure that the slice outlives the pointer this
438
438
/// function returns, or else it will end up pointing to garbage.
439
439
///
440
- /// Modifying the slice may cause its buffer to be reallocated, which
441
- /// would also make any pointers to it invalid.
440
+ /// Modifying the container referenced by this slice may cause its buffer
441
+ /// to be reallocated, which would also make any pointers to it invalid.
442
442
///
443
443
/// # Examples
444
444
///
@@ -463,8 +463,8 @@ impl<T> [T] {
463
463
/// The caller must ensure that the slice outlives the pointer this
464
464
/// function returns, or else it will end up pointing to garbage.
465
465
///
466
- /// Modifying the slice may cause its buffer to be reallocated, which
467
- /// would also make any pointers to it invalid.
466
+ /// Modifying the container referenced by this slice may cause its buffer
467
+ /// to be reallocated, which would also make any pointers to it invalid.
468
468
///
469
469
/// # Examples
470
470
///
You can’t perform that action at this time.
0 commit comments