diff --git a/src/io/read_exact.rs b/src/io/read_exact.rs
index b251bfeaa84..417e13ce982 100644
--- a/src/io/read_exact.rs
+++ b/src/io/read_exact.rs
@@ -66,7 +66,7 @@ impl Future for ReadExact
}
}
}
- 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) {