From 4809a6d44f8c6a2638b5ba801164e107c3242daf Mon Sep 17 00:00:00 2001 From: Chayim Refael Friedman Date: Fri, 25 Feb 2022 01:34:08 +0200 Subject: [PATCH] Remove a duplicate space rustfmt doesn't format `let ... else`. --- compiler/rustc_typeck/src/check/fn_ctxt/suggestions.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/rustc_typeck/src/check/fn_ctxt/suggestions.rs b/compiler/rustc_typeck/src/check/fn_ctxt/suggestions.rs index f6a2447572ffd..65670391ee024 100644 --- a/compiler/rustc_typeck/src/check/fn_ctxt/suggestions.rs +++ b/compiler/rustc_typeck/src/check/fn_ctxt/suggestions.rs @@ -637,7 +637,7 @@ impl<'a, 'tcx> FnCtxt<'a, 'tcx> { }) .collect::, _>>(); - let Ok(where_predicates) = where_predicates else { return }; + let Ok(where_predicates) = where_predicates else { return }; // now get all predicates in the same types as the where bounds, so we can chain them let predicates_from_where =