Skip to content

Commit

Permalink
Rename method for consistency
Browse files Browse the repository at this point in the history
  • Loading branch information
eldruin committed Jul 14, 2020
1 parent 2ed300c commit 7450b90
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/blocking/i2s.rs
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,11 @@ pub trait WriteIter<W> {
type Error;

/// Sends `left_words` and `right_words` to the slave.
fn try_write<LW, RW>(&mut self, left_words: LW, right_words: RW) -> Result<(), Self::Error>
fn try_write_iter<LW, RW>(
&mut self,
left_words: LW,
right_words: RW,
) -> Result<(), Self::Error>
where
LW: IntoIterator<Item = W>,
RW: IntoIterator<Item = W>;
Expand Down

0 comments on commit 7450b90

Please sign in to comment.