Skip to content

Commit d7ccdd8

Browse files
authored
avoid incoming breakage of for<'a> &'a T: 'a bounds
context: rust-lang/rust#98109
1 parent bca4096 commit d7ccdd8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

snocat/src/common/protocol/negotiation.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ impl NegotiationClient {
150150
) -> impl Future<Output = Result<S, NegotiationError<AE>>> + 'stream
151151
where
152152
S: TunnelStream + Send + 'stream,
153-
for<'a> &'a mut S: TunnelStream + Send + 'a,
153+
for<'a> &'a mut S: TunnelStream + Send,
154154
{
155155
const LOCAL_PROTOCOL_VERSION: u8 = 0;
156156
let negotiation_span = tracing::trace_span!("protocol_negotiation_client", addr=?addr);

0 commit comments

Comments
 (0)