File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ declare_clippy_lint! {
14
14
/// **What it does:**
15
15
/// Suggests alternatives for useless applications of `?` in terminating expressions
16
16
///
17
- /// **Why is this bad?** There's no reason to use ? to short-circuit when execution of the body will end there anyway.
17
+ /// **Why is this bad?** There's no reason to use `?` to short-circuit when execution of the body will end there anyway.
18
18
///
19
19
/// **Known problems:** None.
20
20
///
@@ -58,7 +58,7 @@ declare_clippy_lint! {
58
58
/// ```
59
59
pub NEEDLESS_QUESTION_MARK ,
60
60
complexity,
61
- "Suggest value.inner_option instead of Some(value.inner_option?). The same goes for Result<T, E>."
61
+ "Suggest ` value.inner_option` instead of ` Some(value.inner_option?)` . The same goes for ` Result<T, E>` ."
62
62
}
63
63
64
64
const NEEDLESS_QUESTION_MARK_RESULT_MSRV : RustcVersion = RustcVersion :: new ( 1 , 13 , 0 ) ;
You can’t perform that action at this time.
0 commit comments