diff options
| author | joboet <jonasboettiger@icloud.com> | 2024-11-25 13:49:25 +0100 |
|---|---|---|
| committer | joboet <jonasboettiger@icloud.com> | 2024-11-26 18:38:24 +0100 |
| commit | c14d137bfc5133f5a38fad2f58e30fed9c47ffe2 (patch) | |
| tree | 39c74cdea7465778402cd3bcba499b9317d6c606 /library/std/src/io/tests.rs | |
| parent | d39afacbdfbc4fb1f8a6dcdb4af7c357bae8f7db (diff) | |
| download | rust-c14d137bfc5133f5a38fad2f58e30fed9c47ffe2.tar.gz rust-c14d137bfc5133f5a38fad2f58e30fed9c47ffe2.zip | |
std: update internal uses of `io::const_error!`
Diffstat (limited to 'library/std/src/io/tests.rs')
| -rw-r--r-- | library/std/src/io/tests.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/library/std/src/io/tests.rs b/library/std/src/io/tests.rs index 89e806c0891..47cbb9614af 100644 --- a/library/std/src/io/tests.rs +++ b/library/std/src/io/tests.rs @@ -225,12 +225,12 @@ fn take_eof() { impl Read for R { fn read(&mut self, _: &mut [u8]) -> io::Result<usize> { - Err(io::const_io_error!(io::ErrorKind::Other, "")) + Err(io::const_error!(io::ErrorKind::Other, "")) } } impl BufRead for R { fn fill_buf(&mut self) -> io::Result<&[u8]> { - Err(io::const_io_error!(io::ErrorKind::Other, "")) + Err(io::const_error!(io::ErrorKind::Other, "")) } fn consume(&mut self, _amt: usize) {} } |
