add comment
This commit is contained in:
parent
02e0726149
commit
cd5781648a
|
@ -11,6 +11,7 @@ use rustc_span::symbol::sym;
|
||||||
use super::OPTION_MAP_OR_NONE;
|
use super::OPTION_MAP_OR_NONE;
|
||||||
use super::RESULT_MAP_OR_INTO_OPTION;
|
use super::RESULT_MAP_OR_INTO_OPTION;
|
||||||
|
|
||||||
|
/// The expression inside a closure may or may not have surrounding braces
|
||||||
fn reduce_unit_expression<'a>(
|
fn reduce_unit_expression<'a>(
|
||||||
cx: &LateContext<'_>,
|
cx: &LateContext<'_>,
|
||||||
expr: &'a hir::Expr<'_>,
|
expr: &'a hir::Expr<'_>,
|
||||||
|
|
Loading…
Reference in a new issue