Skip to content

Commit d74c51e

Browse files
committed
Replace Iterator with IntoIterator
1 parent d1becc6 commit d74c51e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,6 @@ pub trait SmartLedsWrite {
3232
type Color;
3333
fn write<T, I>(&mut self, iterator: T) -> Result<(), Self::Error>
3434
where
35-
T: Iterator<Item = I>,
35+
T: IntoIterator<Item = I>,
3636
I: Into<Self::Color>;
3737
}

0 commit comments

Comments
 (0)