diff options
| author | Tropical <42101043+Tropix126@users.noreply.github.com> | 2025-09-25 16:34:20 -0500 |
|---|---|---|
| committer | Tropical <42101043+Tropix126@users.noreply.github.com> | 2025-09-25 16:34:20 -0500 |
| commit | 0ede3fe48c0d373d3673459218e1b9e7eaa667b8 (patch) | |
| tree | 16dd9aa3e7fbdc35e077149b659c0133933db65a /library | |
| parent | b2634e31c435aeff149c5660f9329a0578ad1e72 (diff) | |
| download | rust-0ede3fe48c0d373d3673459218e1b9e7eaa667b8.tar.gz rust-0ede3fe48c0d373d3673459218e1b9e7eaa667b8.zip | |
std: fix warning in VEXos stdio module
Diffstat (limited to 'library')
| -rw-r--r-- | library/std/src/sys/stdio/vexos.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/std/src/sys/stdio/vexos.rs b/library/std/src/sys/stdio/vexos.rs index 1f2251c6421..9a391feb7a8 100644 --- a/library/std/src/sys/stdio/vexos.rs +++ b/library/std/src/sys/stdio/vexos.rs @@ -13,7 +13,7 @@ impl Stdin { } impl io::Read for Stdin { - fn read(&mut self, mut buf: &mut [u8]) -> io::Result<usize> { + fn read(&mut self, buf: &mut [u8]) -> io::Result<usize> { let mut count = 0; for out_byte in buf.iter_mut() { |
