Skip to content

Commit 8fec83c

Browse files
committed
swarm: Simplify Debug impl bounds for OneShotHandler
1 parent a34a700 commit 8fec83c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

swarm/src/handler/one_shot.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ where
114114

115115
impl<TInbound, TOutbound, TEvent> std::fmt::Debug for OneShotHandler<TInbound, TOutbound, TEvent>
116116
where
117-
TOutbound: std::fmt::Debug + OutboundUpgradeSend,
117+
TOutbound: OutboundUpgradeSend,
118118
{
119119
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
120120
f.debug_struct("OneShotHandler")

0 commit comments

Comments
 (0)