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 @@ -14,7 +14,7 @@ declare_clippy_lint! {
1414 /// **What it does:**
1515 /// Suggests alternatives for useless applications of `?` in terminating expressions
1616 ///
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.
1818 ///
1919 /// **Known problems:** None.
2020 ///
@@ -58,7 +58,7 @@ declare_clippy_lint! {
5858 /// ```
5959 pub NEEDLESS_QUESTION_MARK ,
6060 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>` ."
6262}
6363
6464const NEEDLESS_QUESTION_MARK_RESULT_MSRV : RustcVersion = RustcVersion :: new ( 1 , 13 , 0 ) ;
You can’t perform that action at this time.
0 commit comments