Merge pull request #1 from sbstp/typo

Fix typo in panic message
This commit is contained in:
Alex Crichton 2016-08-26 19:11:51 -07:00 committed by GitHub
commit b9395808be

View File

@ -66,7 +66,7 @@ impl<A, T> Future for ReadExact<A, T>
}
}
}
State::Empty => panic!("poll a WriteAll after it's done"),
State::Empty => panic!("poll a ReadExact after it's done"),
}
match mem::replace(&mut self.state, State::Empty) {