Skip to content

Commit

Permalink
doc(rs-transport): fix trait references
Browse files Browse the repository at this point in the history
Signed-off-by: Roman Volosatovs <[email protected]>
  • Loading branch information
rvolosatovs committed Aug 15, 2024
1 parent 4723db6 commit 632498a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/transport/src/invoke.rs
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ pub trait Invoke: Send + Sync {
/// = note: ...but it actually implements `AsRef<[&[Option<usize>]]>`
/// ```
///
/// 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 _;
Expand Down Expand Up @@ -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,
Expand Down

0 comments on commit 632498a

Please sign in to comment.