Skip to content

Commit 1b56d02

Browse files
committed
Remove spurious backticks detected by rustdoc::unescaped_backticks
Signed-off-by: Miguel Ojeda <[email protected]>
1 parent 1b51d80 commit 1b56d02

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

library/core/src/ops/deref.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,7 @@ impl<T: ?Sized> DerefMut for &mut T {
282282
/// FIXME(deref_patterns): The precise semantics are undecided; the rough idea is that
283283
/// successive calls to `deref`/`deref_mut` without intermediate mutation should be
284284
/// 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
286286
/// unchanged.
287287
#[unstable(feature = "deref_pure_trait", issue = "87121")]
288288
#[lang = "deref_pure"]

library/core/src/ptr/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -786,7 +786,7 @@ where
786786
///
787787
/// The caller must also ensure that the memory the pointer (non-transitively) points to is never
788788
/// 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:
790790
/// &mut T` into `*const T`, prefer `from_mut(m).cast_const()` to obtain a pointer that can later be
791791
/// used for mutation.
792792
///

0 commit comments

Comments
 (0)