Skip to content

Commit

Permalink
fix typo in panic message
Browse files Browse the repository at this point in the history
  • Loading branch information
sbstp committed Aug 27, 2016
1 parent 3715e62 commit 32557cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/io/read_exact.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 32557cd

Please sign in to comment.