File tree Expand file tree Collapse file tree 8 files changed +9
-4
lines changed Expand file tree Collapse file tree 8 files changed +9
-4
lines changed Original file line number Diff line number Diff line change 8686#![ warn( multiple_supertrait_upcastable) ]
8787#![ allow( internal_features) ]
8888#![ allow( rustdoc:: redundant_explicit_links) ]
89+ #![ warn( rustdoc:: unescaped_backticks) ]
8990#![ deny( ffi_unwind_calls) ]
9091//
9192// Library features:
Original file line number Diff line number Diff line change 103103#![ deny( ffi_unwind_calls) ]
104104// Do not check link redundancy on bootstraping phase
105105#![ allow( rustdoc:: redundant_explicit_links) ]
106+ #![ warn( rustdoc:: unescaped_backticks) ]
106107//
107108// Library features:
108109// tidy-alphabetical-start
Original file line number Diff line number Diff 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" ]
Original file line number Diff line number Diff line change @@ -780,7 +780,7 @@ where
780780///
781781/// The caller must also ensure that the memory the pointer (non-transitively) points to is never
782782/// written to (except inside an `UnsafeCell`) using this pointer or any pointer derived from it. If
783- /// you need to mutate the pointee, use [`from_mut`]` . Specifically, to turn a mutable reference `m:
783+ /// you need to mutate the pointee, use [`from_mut`]. Specifically, to turn a mutable reference `m:
784784/// &mut T` into `*const T`, prefer `from_mut(m).cast_const()` to obtain a pointer that can later be
785785/// used for mutation.
786786///
Original file line number Diff line number Diff line change @@ -3435,8 +3435,8 @@ impl<T> [T] {
34353435 /// elements of the slice move to the end while the last `k` elements move
34363436 /// to the front.
34373437 ///
3438- /// After calling `rotate_right`, the element previously at index `self.len()
3439- /// - k` will become the first element in the slice.
3438+ /// After calling `rotate_right`, the element previously at index
3439+ /// `self.len() - k` will become the first element in the slice.
34403440 ///
34413441 /// # Panics
34423442 ///
Original file line number Diff line number Diff line change 3737#![ recursion_limit = "256" ]
3838#![ allow( internal_features) ]
3939#![ deny( ffi_unwind_calls) ]
40+ #![ warn( rustdoc:: unescaped_backticks) ]
4041
4142#[ unstable( feature = "proc_macro_internals" , issue = "27812" ) ]
4243#[ doc( hidden) ]
Original file line number Diff line number Diff line change 254254#![ deny( fuzzy_provenance_casts) ]
255255#![ deny( unsafe_op_in_unsafe_fn) ]
256256#![ allow( rustdoc:: redundant_explicit_links) ]
257+ #![ warn( rustdoc:: unescaped_backticks) ]
257258// Ensure that std can be linked against panic_abort despite compiled with `-C panic=unwind`
258259#![ deny( ffi_unwind_calls) ]
259260// std may use features in a platform-specific way
Original file line number Diff line number Diff line change 2424#![ feature( panic_can_unwind) ]
2525#![ feature( test) ]
2626#![ allow( internal_features) ]
27+ #![ warn( rustdoc:: unescaped_backticks) ]
2728
2829pub use cli:: TestOpts ;
2930
You can’t perform that action at this time.
0 commit comments