Skip to content

Commit 9ed6489

Browse files
committed
Format with rustfmt 1.5.1-nightly
1 parent b100ace commit 9ed6489

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/expand.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -250,9 +250,7 @@ fn transform_sig(
250250

251251
let bounds = bounds.iter().filter_map(|bound| {
252252
let assume_bound = match context {
253-
Context::Trait { supertraits, .. } => {
254-
!has_default || has_bound(supertraits, bound)
255-
}
253+
Context::Trait { supertraits, .. } => !has_default || has_bound(supertraits, bound),
256254
Context::Impl { .. } => true,
257255
};
258256
if assume_bound || is_local {

0 commit comments

Comments
 (0)