Skip to content

Commit

Permalink
Format with rustfmt 1.5.1-nightly
Browse files Browse the repository at this point in the history
  • Loading branch information
dtolnay committed Nov 29, 2022
1 parent b100ace commit 9ed6489
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/expand.rs
Expand Up @@ -250,9 +250,7 @@ fn transform_sig(

let bounds = bounds.iter().filter_map(|bound| {
let assume_bound = match context {
Context::Trait { supertraits, .. } => {
!has_default || has_bound(supertraits, bound)
}
Context::Trait { supertraits, .. } => !has_default || has_bound(supertraits, bound),
Context::Impl { .. } => true,
};
if assume_bound || is_local {
Expand Down

0 comments on commit 9ed6489

Please sign in to comment.