Skip to content

Commit c8cd16b

Browse files
authored
Ignore unused argument in closure
1 parent 95effbf commit c8cd16b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/static-guarantees/state-machines.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ impl GpioConfig {
6868
}
6969
7070
pub fn set_direction(&mut self, is_output: bool) {
71-
self.periph.modify(|r, w| {
71+
self.periph.modify(|_r, w| {
7272
w.direction().set_bit(is_output)
7373
});
7474
}

0 commit comments

Comments
 (0)