Skip to content

Commit

Permalink
Replace Iterator with IntoIterator
Browse files Browse the repository at this point in the history
  • Loading branch information
Finomnis committed Jun 24, 2023
1 parent d1becc6 commit d74c51e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,6 @@ pub trait SmartLedsWrite {
type Color;
fn write<T, I>(&mut self, iterator: T) -> Result<(), Self::Error>
where
T: Iterator<Item = I>,
T: IntoIterator<Item = I>,
I: Into<Self::Color>;
}

0 comments on commit d74c51e

Please sign in to comment.