Skip to content

Commit 123f7f2

Browse files
committed
run autoformatting
1 parent 9f395ac commit 123f7f2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

clippy_lints/src/and_then_then_some.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,8 @@ impl<'tcx> LateLintPass<'tcx> for AndThenThenSome {
5353
}
5454
}
5555

56-
// This function returns the span of the closure arguments and the receiver of `then_some` (usually `bool`) if the expression passed is a closure whose single expression is a call to `then_some`.
56+
// This function returns the span of the closure arguments and the receiver of `then_some` (usually
57+
// `bool`) if the expression passed is a closure whose single expression is a call to `then_some`.
5758
fn then_some_closure_arg<'tcx>(cx: &LateContext<'tcx>, expr: &Expr<'tcx>) -> Option<(Span, &'tcx Expr<'tcx>)> {
5859
match expr.kind {
5960
ExprKind::Closure(Closure {

0 commit comments

Comments
 (0)