We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 02e0726 commit cd57816Copy full SHA for cd57816
clippy_lints/src/methods/option_map_or_none.rs
@@ -11,6 +11,7 @@ use rustc_span::symbol::sym;
11
use super::OPTION_MAP_OR_NONE;
12
use super::RESULT_MAP_OR_INTO_OPTION;
13
14
+/// The expression inside a closure may or may not have surrounding braces
15
fn reduce_unit_expression<'a>(
16
cx: &LateContext<'_>,
17
expr: &'a hir::Expr<'_>,
0 commit comments