Skip to content

Commit 28dc8c3

Browse files
committed
Fix commas in docs
1 parent 5624009 commit 28dc8c3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/errors.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ pub mod i2c {
55
pub trait Error: core::fmt::Debug {
66
/// Convert error to a generic I2C error kind
77
///
8-
/// By using this method I2C errors freely defined by HAL implementations
8+
/// By using this method, I2C errors freely defined by HAL implementations
99
/// can be converted to a set of generic I2C errors upon which generic
1010
/// code can act.
1111
fn kind(&self) -> ErrorKind;
@@ -65,7 +65,7 @@ pub mod spi {
6565
pub trait Error: core::fmt::Debug {
6666
/// Convert error to a generic SPI error kind
6767
///
68-
/// By using this method SPI errors freely defined by HAL implementations
68+
/// By using this method, SPI errors freely defined by HAL implementations
6969
/// can be converted to a set of generic SPI errors upon which generic
7070
/// code can act.
7171
fn kind(&self) -> ErrorKind;
@@ -127,7 +127,7 @@ pub mod serial {
127127
pub trait Error: core::fmt::Debug {
128128
/// Convert error to a generic serial error kind
129129
///
130-
/// By using this method serial errors freely defined by HAL implementations
130+
/// By using this method, serial errors freely defined by HAL implementations
131131
/// can be converted to a set of generic serial errors upon which generic
132132
/// code can act.
133133
fn kind(&self) -> ErrorKind;

0 commit comments

Comments
 (0)