Skip to content

Commit 09c8adf

Browse files
committed
fix 1.12 build
1 parent 41f8e9f commit 09c8adf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/bin/integration_tests.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1240,8 +1240,8 @@ fn test_empty18() {
12401240
}
12411241

12421242
pub struct SoonErrorReader(&'static[u8], bool);
1243-
impl std::io::Read for SoonErrorReader {
1244-
fn read(&mut self, data:&mut [u8]) -> std::io::Result<usize> {
1243+
impl Read for SoonErrorReader {
1244+
fn read(&mut self, data:&mut [u8]) -> io::Result<usize> {
12451245
let first = self.1;
12461246
self.1 = false;
12471247
if first {

0 commit comments

Comments
 (0)