We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
core::future::Ready
1 parent a28109a commit 2d8b6e3Copy full SHA for 2d8b6e3
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