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:
+1
-1
@@ -45,7 +45,7 @@ impl<T> IntoIter<T> {
|
||||
/// assert_eq!(iter.next(), None);
|
||||
/// ```
|
||||
pub fn new(inner: T) -> IntoIter<T> {
|
||||
IntoIter { inner: inner }
|
||||
IntoIter { inner }
|
||||
}
|
||||
/// Consumes this `IntoIter`, returning the underlying value.
|
||||
///
|
||||
|
||||
Reference in New Issue
Block a user