From 9ed6489ee0cedf31fef8a06a1dcd1f18b4afdd39 Mon Sep 17 00:00:00 2001 From: David Tolnay Date: Mon, 28 Nov 2022 23:53:31 -0800 Subject: [PATCH] Format with rustfmt 1.5.1-nightly --- src/expand.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/expand.rs b/src/expand.rs index 6214355..fbf9aba 100644 --- a/src/expand.rs +++ b/src/expand.rs @@ -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 {