Skip to content

Commit

Permalink
fix compatibility warning
Browse files Browse the repository at this point in the history
  • Loading branch information
steveklabnik committed Apr 1, 2022
1 parent 5789ea4 commit 554b052
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drv/lpc55-spi-server/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ fn muck_with_gpios(syscon: &Syscon) {
];

for (pin, alt, mode, slew, invert, digi, od) in
core::array::IntoIter::new(pin_settings)
IntoIterator::into_iter(pin_settings)
{
iocon
.iocon_configure(pin, alt, mode, slew, invert, digi, od)
Expand Down

0 comments on commit 554b052

Please sign in to comment.