Skip to content

Commit

Permalink
Ignore unused argument in closure
Browse files Browse the repository at this point in the history
  • Loading branch information
GeertJohan authored Aug 19, 2020
1 parent 95effbf commit c8cd16b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/static-guarantees/state-machines.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ impl GpioConfig {
}
pub fn set_direction(&mut self, is_output: bool) {
self.periph.modify(|r, w| {
self.periph.modify(|_r, w| {
w.direction().set_bit(is_output)
});
}
Expand Down

0 comments on commit c8cd16b

Please sign in to comment.