diff --git a/CHANGELOG.md b/CHANGELOG.md index d5b14d86b..aab46c15a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,10 @@ and this project adheres to [Semantic Versioning](http://semver.org/). ## [Unreleased] +### Changed +- The method `try_write` from the trait `blocking::i2c::WriteIter` trait + has been renamed `try_write_iter` for consistency. + ## [v1.0.0-alpha.1] - 2020-06-16 *** This is an alpha release with breaking changes (sorry) *** diff --git a/src/blocking/i2c.rs b/src/blocking/i2c.rs index 20307fbcb..b6a78345f 100644 --- a/src/blocking/i2c.rs +++ b/src/blocking/i2c.rs @@ -65,7 +65,7 @@ pub trait WriteIter { /// # I2C Events (contract) /// /// Same as `Write` - fn try_write(&mut self, address: u8, bytes: B) -> Result<(), Self::Error> + fn try_write_iter(&mut self, address: u8, bytes: B) -> Result<(), Self::Error> where B: IntoIterator; }