Skip to content

Commit

Permalink
add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
togami2864 committed Nov 15, 2021
1 parent 02e0726 commit cd57816
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions clippy_lints/src/methods/option_map_or_none.rs
Expand Up @@ -11,6 +11,7 @@ use rustc_span::symbol::sym;
use super::OPTION_MAP_OR_NONE;
use super::RESULT_MAP_OR_INTO_OPTION;

/// The expression inside a closure may or may not have surrounding braces
fn reduce_unit_expression<'a>(
cx: &LateContext<'_>,
expr: &'a hir::Expr<'_>,
Expand Down

0 comments on commit cd57816

Please sign in to comment.