mirror of
https://github.com/rust-lang/rust
synced 2024-10-15 04:53:58 +00:00
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:
commit
cff3472ef1
|
@ -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 =
|
||||
|
|
Loading…
Reference in a new issue