Fix clippy (#285)

This commit is contained in:
Douman
2019-08-27 14:19:44 -07:00
committed by Carl Lerche
parent ae9991f3ba
commit 4f5ed82b3c
8 changed files with 18 additions and 18 deletions
+1 -1
View File
@@ -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.
///