We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 65003c6 + 2d8b6e3 commit 6c4888aCopy full SHA for 6c4888a
library/core/src/future/ready.rs
@@ -20,7 +20,7 @@ impl<T> Future for Ready<T> {
20
21
#[inline]
22
fn poll(mut self: Pin<&mut Self>, _cx: &mut Context<'_>) -> Poll<T> {
23
- Poll::Ready(self.0.take().expect("Ready polled after completion"))
+ Poll::Ready(self.0.take().expect("`Ready` polled after completion"))
24
}
25
26
0 commit comments