Use backticks when referring to core::future::Ready
in panic message
This commit is contained in:
parent
a28109a767
commit
2d8b6e3476
@ -20,7 +20,7 @@ impl<T> Future for Ready<T> {
|
||||
|
||||
#[inline]
|
||||
fn poll(mut self: Pin<&mut Self>, _cx: &mut Context<'_>) -> Poll<T> {
|
||||
Poll::Ready(self.0.take().expect("Ready polled after completion"))
|
||||
Poll::Ready(self.0.take().expect("`Ready` polled after completion"))
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user