diff --git a/library/core/src/future/ready.rs b/library/core/src/future/ready.rs index b0c7fbb1d7a76..cc905d288f9e0 100644 --- a/library/core/src/future/ready.rs +++ b/library/core/src/future/ready.rs @@ -20,7 +20,7 @@ impl Future for Ready { #[inline] fn poll(mut self: Pin<&mut Self>, _cx: &mut Context<'_>) -> Poll { - Poll::Ready(self.0.take().expect("Ready polled after completion")) + Poll::Ready(self.0.take().expect("`Ready` polled after completion")) } }