File tree 2 files changed +2
-2
lines changed
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -282,7 +282,7 @@ impl<T: ?Sized> DerefMut for &mut T {
282
282
/// FIXME(deref_patterns): The precise semantics are undecided; the rough idea is that
283
283
/// successive calls to `deref`/`deref_mut` without intermediate mutation should be
284
284
/// idempotent, in the sense that they return the same value as far as pattern-matching
285
- /// is concerned. Calls to `deref`/`deref_mut`` must leave the pointer itself likewise
285
+ /// is concerned. Calls to `deref`/`deref_mut` must leave the pointer itself likewise
286
286
/// unchanged.
287
287
#[ unstable( feature = "deref_pure_trait" , issue = "87121" ) ]
288
288
#[ lang = "deref_pure" ]
Original file line number Diff line number Diff line change @@ -786,7 +786,7 @@ where
786
786
///
787
787
/// The caller must also ensure that the memory the pointer (non-transitively) points to is never
788
788
/// written to (except inside an `UnsafeCell`) using this pointer or any pointer derived from it. If
789
- /// you need to mutate the pointee, use [`from_mut`]` . Specifically, to turn a mutable reference `m:
789
+ /// you need to mutate the pointee, use [`from_mut`]. Specifically, to turn a mutable reference `m:
790
790
/// &mut T` into `*const T`, prefer `from_mut(m).cast_const()` to obtain a pointer that can later be
791
791
/// used for mutation.
792
792
///
You can’t perform that action at this time.
0 commit comments