mirror of
https://github.com/tokio-rs/bytes.git
synced 2026-08-14 00:00:13 +02:00
Fix clippy (#285)
This commit is contained in:
+1
-1
@@ -13,7 +13,7 @@ pub struct Reader<B> {
|
||||
}
|
||||
|
||||
pub fn new<B>(buf: B) -> Reader<B> {
|
||||
Reader { buf: buf }
|
||||
Reader { buf }
|
||||
}
|
||||
|
||||
impl<B: Buf> Reader<B> {
|
||||
|
||||
Reference in New Issue
Block a user