Skip to content

Commit 46a5222

Browse files
committed
Fix clippy error
1 parent bc736f2 commit 46a5222

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

embedded-hal-nb/src/serial.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ where
127127
let _ = s
128128
.bytes()
129129
.map(|c| nb::block!(self.write(Word::from(c))))
130-
.last();
130+
.next_back();
131131
Ok(())
132132
}
133133
}

0 commit comments

Comments
 (0)