Reformat everything

This commit is contained in:
Deadbeef 2021-11-29 21:12:53 +08:00
parent fdf5322169
commit 8710a2e169
No known key found for this signature in database
GPG key ID: 6D017A96D8E6C2F9
6 changed files with 11 additions and 20 deletions

View file

@ -2144,10 +2144,7 @@ impl<'cx, 'tcx> SelectionContext<'cx, 'tcx> {
previous_stack: TraitObligationStackList<'o, 'tcx>,
obligation: &'o TraitObligation<'tcx>,
) -> TraitObligationStack<'o, 'tcx> {
let fresh_trait_pred = obligation
.predicate
.fold_with(&mut self.freshener)
.into_ok();
let fresh_trait_pred = obligation.predicate.fold_with(&mut self.freshener).into_ok();
let dfn = previous_stack.cache.next_dfn();
let depth = previous_stack.depth() + 1;