docs: improved warning location
This commit is contained in:
parent
93e6456e19
commit
efb699a319
|
@ -92,6 +92,7 @@ where
|
||||||
{
|
{
|
||||||
type Output = T;
|
type Output = T;
|
||||||
|
|
||||||
|
#[track_caller]
|
||||||
fn poll(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll<Self::Output> {
|
fn poll(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll<Self::Output> {
|
||||||
let waker = cx.waker();
|
let waker = cx.waker();
|
||||||
self.source.track();
|
self.source.track();
|
||||||
|
|
Loading…
Reference in New Issue