From 632498addf76ebfcd361e7bb70304ecde3f5d458 Mon Sep 17 00:00:00 2001 From: Roman Volosatovs Date: Thu, 15 Aug 2024 12:32:15 +0200 Subject: [PATCH] doc(rs-transport): fix trait references Signed-off-by: Roman Volosatovs --- crates/transport/src/invoke.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/transport/src/invoke.rs b/crates/transport/src/invoke.rs index c236b234..f23fe76c 100644 --- a/crates/transport/src/invoke.rs +++ b/crates/transport/src/invoke.rs @@ -50,7 +50,7 @@ pub trait Invoke: Send + Sync { /// = note: ...but it actually implements `AsRef<[&[Option]]>` /// ``` /// - /// The fix is to call [`send`](SendFuture::send) provided by [`send_future::SendFuture`], re-exported by this crate, on the future before awaiting: + /// The fix is to call [`send`](send_future::SendFuture::send) provided by [`send_future::SendFuture`], re-exported by this crate, on the future before awaiting: /// ``` /// use core::future::Future; /// use wrpc_transport::SendFuture as _; @@ -283,7 +283,7 @@ pub trait InvokeExt: Invoke { } /// Returns a [`Timeout`], wrapping [Self] with an implementation of [Invoke], which will - /// error, if call to [`Self::invoke`] does not return within a supplied `timeout` + /// error, if call to [`Invoke::invoke`] does not return within a supplied `timeout` fn timeout(&self, timeout: Duration) -> Timeout<'_, Self> { Timeout { inner: self,