Skip to content

Commit

Permalink
fix a couple doc comment links
Browse files Browse the repository at this point in the history
  • Loading branch information
wfraser committed Apr 3, 2024
1 parent 000ee56 commit 7c662e4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/async_client_trait.rs
Original file line number Diff line number Diff line change
Expand Up @@ -97,8 +97,8 @@ pub struct HttpRequestResult<T> {
/// `None` if `body` is also not `None`.
pub content_length: Option<u64>,

/// The response body stream, if any. Only expected to not be `None` for [`Style::Download`]
/// endpoints.
/// The response body stream, if any. Only expected to not be `None` for
/// [`Style::Download`](crate::client_trait_common::Style::Download) endpoints.
pub body: Option<Box<dyn AsyncRead + Unpin + Send>>,
}

Expand Down
4 changes: 2 additions & 2 deletions src/client_trait.rs
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,8 @@ pub struct HttpRequestResult<T> {
/// `None` if `body` is also not `None`.
pub content_length: Option<u64>,

/// The response body stream, if any. Only expected to not be `None` for [`Style::Download`]
/// endpoints.
/// The response body stream, if any. Only expected to not be `None` for
/// [`Style::Download`](crate::client_trait_common::Style::Download) endpoints.
pub body: Option<Box<dyn Read>>,
}

0 comments on commit 7c662e4

Please sign in to comment.