Skip to content

Commit

Permalink
rustfmt
Browse files Browse the repository at this point in the history
  • Loading branch information
jbeaurivage committed Nov 13, 2024
1 parent b4d3cda commit 0d53a0b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion hal/src/sercom/i2c/async_api.rs
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,8 @@ impl<C: AnyConfig> I2cTrait for I2cFuture<C> {

while let Some(group) = op_groups.next() {
let mut group = group.iter_mut();
// Unwrapping is OK here because chunk_operations will never give us a 0-length chunk.
// Unwrapping is OK here because chunk_operations will never give us a 0-length
// chunk.
let op = group.next().unwrap();

// First operation in the group - send a START with the address, and the first
Expand Down
3 changes: 2 additions & 1 deletion hal/src/sercom/i2c/impl_ehal.rs
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@ impl<C: AnyConfig, D> I2c<C, D> {

while let Some(group) = op_groups.next() {
let mut group = group.iter_mut();
// Unwrapping is OK here because chunk_operations will never give us a 0-length chunk.
// Unwrapping is OK here because chunk_operations will never give us a 0-length
// chunk.
let op = group.next().unwrap();

// First operation in the group - send a START with the address, and the first
Expand Down

0 comments on commit 0d53a0b

Please sign in to comment.