Correct fmt

This commit is contained in:
surechen 2021-07-21 12:01:03 +08:00
parent 7af840f62e
commit 0f5bfc2242

View file

@ -1389,10 +1389,7 @@ impl<'hir> LoweringContext<'_, 'hir> {
{
for param in &generics.params {
if def_id == self.resolver.local_def_id(param.id).to_def_id() {
add_bounds
.entry(param.id)
.or_default()
.push(bound.clone());
add_bounds.entry(param.id).or_default().push(bound.clone());
continue 'next_bound;
}
}