diff --git a/src/bin/integration_tests.rs b/src/bin/integration_tests.rs index da40bbe4..289728cf 100755 --- a/src/bin/integration_tests.rs +++ b/src/bin/integration_tests.rs @@ -1240,8 +1240,8 @@ fn test_empty18() { } pub struct SoonErrorReader(&'static[u8], bool); -impl std::io::Read for SoonErrorReader { - fn read(&mut self, data:&mut [u8]) -> std::io::Result { +impl Read for SoonErrorReader { + fn read(&mut self, data:&mut [u8]) -> io::Result { let first = self.1; self.1 = false; if first {