1
Fork 0

fix fmt and bless

This commit is contained in:
Deadbeef 2022-12-22 18:15:15 +00:00
parent f6725c0a98
commit b0aa859c24
21 changed files with 46 additions and 10 deletions

View file

@ -261,16 +261,12 @@ impl<'cx, 'tcx> SelectionContext<'cx, 'tcx> {
Some(closure_kind) => {
debug!(?closure_kind, "assemble_unboxed_candidates");
if closure_kind.extends(kind) {
candidates.vec.push(ClosureCandidate {
is_const,
});
candidates.vec.push(ClosureCandidate { is_const });
}
}
None => {
debug!("assemble_unboxed_candidates: closure_kind not yet known");
candidates.vec.push(ClosureCandidate {
is_const,
});
candidates.vec.push(ClosureCandidate { is_const });
}
}
}