Skip to content

Commit 178409c

Browse files
committed
cargo fmt
1 parent dde8de2 commit 178409c

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

clippy_lints/src/functions/result.rs

+1-6
Original file line numberDiff line numberDiff line change
@@ -83,12 +83,7 @@ fn check_result_unit_err(cx: &LateContext<'_>, err_ty: Ty<'_>, fn_header_span: S
8383
}
8484
}
8585

86-
fn check_result_large_err<'tcx>(
87-
cx: &LateContext<'tcx>,
88-
err_ty: Ty<'tcx>,
89-
hir_ty_span: Span,
90-
large_err_threshold: u64,
91-
) {
86+
fn check_result_large_err<'tcx>(cx: &LateContext<'tcx>, err_ty: Ty<'tcx>, hir_ty_span: Span, large_err_threshold: u64) {
9287
let ty_size = approx_ty_size(cx, err_ty);
9388
if ty_size >= large_err_threshold {
9489
span_lint_and_then(

0 commit comments

Comments
 (0)