File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ use rustc::hir::*;
6
6
use syntax:: ast:: NodeId ;
7
7
use syntax:: codemap:: Span ;
8
8
9
- /// **What it does:** Checks for calls of unwrap[_err]() that cannot fail.
9
+ /// **What it does:** Checks for calls of ` unwrap[_err]()` that cannot fail.
10
10
///
11
11
/// **Why is this bad?** Using `if let` or `match` is more idiomatic.
12
12
///
@@ -32,7 +32,7 @@ declare_clippy_lint! {
32
32
"checks for calls of unwrap[_err]() that cannot fail"
33
33
}
34
34
35
- /// **What it does:** Checks for calls of unwrap[_err]() that will always fail.
35
+ /// **What it does:** Checks for calls of ` unwrap[_err]()` that will always fail.
36
36
///
37
37
/// **Why is this bad?** If panicking is desired, an explicit `panic!()` should be used.
38
38
///
You can’t perform that action at this time.
0 commit comments