Skip to content

Commit 08b7e87

Browse files
committed
Auto merge of rust-lang#7911 - giraffate:small_fixes_for_missing_backticks, r=Manishearth
Small fixes for missing backticks in doc changelog: none
2 parents 7cd9bf5 + ec456de commit 08b7e87

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

clippy_lints/src/option_if_let_else.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ declare_clippy_lint! {
2222
/// expression).
2323
///
2424
/// ### Why is this bad?
25-
/// Using the dedicated functions of the Option type is clearer and
25+
/// Using the dedicated functions of the `Option` type is clearer and
2626
/// more concise than an `if let` expression.
2727
///
2828
/// ### Known problems

clippy_lints/src/unwrap_in_result.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ use rustc_span::{sym, Span};
1313

1414
declare_clippy_lint! {
1515
/// ### What it does
16-
/// Checks for functions of type Result that contain `expect()` or `unwrap()`
16+
/// Checks for functions of type `Result` that contain `expect()` or `unwrap()`
1717
///
1818
/// ### Why is this bad?
1919
/// These functions promote recoverable errors to non-recoverable errors which may be undesirable in code bases which wish to avoid panics.

0 commit comments

Comments
 (0)