mirror of
https://github.com/tokio-rs/bytes.git
synced 2026-08-19 00:00:12 +02:00
Fix clippy (#285)
This commit is contained in:
+2
-2
@@ -14,8 +14,8 @@ pub struct Take<T> {
|
||||
|
||||
pub fn new<T>(inner: T, limit: usize) -> Take<T> {
|
||||
Take {
|
||||
inner: inner,
|
||||
limit: limit,
|
||||
inner,
|
||||
limit,
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user