Skip to content

Commit

Permalink
Rollup merge of rust-lang#94341 - ChayimFriedman2:patch-1, r=Dylan-DPC
Browse files Browse the repository at this point in the history
Remove a duplicate space

rustfmt doesn't format `let ... else`.
  • Loading branch information
matthiaskrgr authored Feb 25, 2022
2 parents 10a43d2 + 4809a6d commit cff3472
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 @@ -633,7 +633,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 cff3472

Please sign in to comment.