Skip to content

Commit 0ede3fe

Browse files
committed
std: fix warning in VEXos stdio module
1 parent b2634e3 commit 0ede3fe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/std/src/sys/stdio/vexos.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ impl Stdin {
1313
}
1414

1515
impl io::Read for Stdin {
16-
fn read(&mut self, mut buf: &mut [u8]) -> io::Result<usize> {
16+
fn read(&mut self, buf: &mut [u8]) -> io::Result<usize> {
1717
let mut count = 0;
1818

1919
for out_byte in buf.iter_mut() {

0 commit comments

Comments
 (0)