Skip to content

Commit 37b8267

Browse files
Merge pull request #9 from Finomnis/into_iterator
Replace Iterator with IntoIterator
2 parents d1becc6 + d74c51e commit 37b8267

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)