From 09c8adf4205a7d42e6024f3177366abb7af60429 Mon Sep 17 00:00:00 2001 From: Daniel Reiter Horn Date: Thu, 31 Jan 2019 02:43:45 +0000 Subject: [PATCH] fix 1.12 build --- src/bin/integration_tests.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 {