Skip to content

Commit

Permalink
Fix commas in docs
Browse files Browse the repository at this point in the history
  • Loading branch information
eldruin committed Aug 30, 2021
1 parent 5624009 commit 28dc8c3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/errors.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ pub mod i2c {
pub trait Error: core::fmt::Debug {
/// Convert error to a generic I2C error kind
///
/// By using this method I2C errors freely defined by HAL implementations
/// By using this method, I2C errors freely defined by HAL implementations
/// can be converted to a set of generic I2C errors upon which generic
/// code can act.
fn kind(&self) -> ErrorKind;
Expand Down Expand Up @@ -65,7 +65,7 @@ pub mod spi {
pub trait Error: core::fmt::Debug {
/// Convert error to a generic SPI error kind
///
/// By using this method SPI errors freely defined by HAL implementations
/// By using this method, SPI errors freely defined by HAL implementations
/// can be converted to a set of generic SPI errors upon which generic
/// code can act.
fn kind(&self) -> ErrorKind;
Expand Down Expand Up @@ -127,7 +127,7 @@ pub mod serial {
pub trait Error: core::fmt::Debug {
/// Convert error to a generic serial error kind
///
/// By using this method serial errors freely defined by HAL implementations
/// By using this method, serial errors freely defined by HAL implementations
/// can be converted to a set of generic serial errors upon which generic
/// code can act.
fn kind(&self) -> ErrorKind;
Expand Down

0 comments on commit 28dc8c3

Please sign in to comment.