Skip to content

Commit

Permalink
Fix from_stream doc link to Stream (#2391)
Browse files Browse the repository at this point in the history
  • Loading branch information
SecretPocketCat authored Dec 1, 2023
1 parent 3c7cf81 commit 801a78a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion axum-core/src/body.rs
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ impl Body {

/// Create a new `Body` from a [`Stream`].
///
/// [`Stream`]: futures_util::stream::Stream
/// [`Stream`]: https://docs.rs/futures-core/latest/futures_core/stream/trait.Stream.html
pub fn from_stream<S>(stream: S) -> Self
where
S: TryStream + Send + 'static,
Expand Down

0 comments on commit 801a78a

Please sign in to comment.