Skip to content

Commit 269c61b

Browse files
committed
make clippy happy
1 parent c6e0af3 commit 269c61b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

crates/shadowsocks-service/src/local/net/tcp/auto_proxy_stream.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -182,6 +182,7 @@ impl AutoProxyClientStream {
182182
}
183183
}
184184

185+
#[allow(clippy::large_enum_variant)]
185186
#[pin_project(project = AutoProxyClientStreamReadHalfProj)]
186187
pub enum AutoProxyClientStreamReadHalf {
187188
Proxied(#[pin] ProxyClientStreamReadHalf<MonProxyStream<TcpStream>>),
@@ -203,6 +204,7 @@ impl AsyncRead for AutoProxyClientStreamReadHalf {
203204
}
204205
}
205206

207+
#[allow(clippy::large_enum_variant)]
206208
#[pin_project(project = AutoProxyClientStreamWriteHalfProj)]
207209
pub enum AutoProxyClientStreamWriteHalf {
208210
Proxied(#[pin] ProxyClientStreamWriteHalf<MonProxyStream<TcpStream>>),

0 commit comments

Comments
 (0)