Skip to content

Commit

Permalink
fix 1.12 build
Browse files Browse the repository at this point in the history
  • Loading branch information
danielrh committed Jan 31, 2019
1 parent 41f8e9f commit 09c8adf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/bin/integration_tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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<usize> {
impl Read for SoonErrorReader {
fn read(&mut self, data:&mut [u8]) -> io::Result<usize> {
let first = self.1;
self.1 = false;
if first {
Expand Down

0 comments on commit 09c8adf

Please sign in to comment.