Skip to content

Commit

Permalink
Remove a duplicate space
Browse files Browse the repository at this point in the history
rustfmt doesn't format `let ... else`.
  • Loading branch information
ChayimFriedman2 committed Feb 24, 2022
1 parent 4b043fa commit 4809a6d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler/rustc_typeck/src/check/fn_ctxt/suggestions.rs
Original file line number Diff line number Diff line change
Expand Up @@ -637,7 +637,7 @@ impl<'a, 'tcx> FnCtxt<'a, 'tcx> {
})
.collect::<Result<Vec<_>, _>>();

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 =
Expand Down

0 comments on commit 4809a6d

Please sign in to comment.