Skip to content

Commit 6a2313d

Browse files
authored
Rollup merge of #147049 - vexide:vex-std, r=workingjubilee
std: fix warning in VEXos stdio module Fixes building `std` on the `armv7a-vex-v5` target due to an unnecessarily mutable argument in `Stdin`. This was a stupid oversight on my part towards the end of #145973's review process. Missed a warning and had a bad bootstrap config that didn't tell me about it when testing changes.
2 parents 7ff5c85 + 0ede3fe commit 6a2313d

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)