Rollup merge of #94341 - ChayimFriedman2:patch-1, r=Dylan-DPC

Remove a duplicate space

rustfmt doesn't format `let ... else`.
This commit is contained in:
Matthias Krüger 2022-02-25 07:30:51 +01:00 committed by GitHub
commit cff3472ef1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -633,7 +633,7 @@ fn try_suggest_return_impl_trait(
})
.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 =