mirror of
https://github.com/fafhrd91/actix-web
synced 2025-08-31 17:07:01 +02:00
clippy warnings
This commit is contained in:
@@ -237,7 +237,7 @@ pub(crate) struct WrapperStream<T> where T: AsyncRead + AsyncWrite + 'static {
|
||||
|
||||
impl<T> WrapperStream<T> where T: AsyncRead + AsyncWrite + 'static {
|
||||
pub fn new(io: T) -> Self {
|
||||
WrapperStream{io: io}
|
||||
WrapperStream{ io }
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user