mirror of
https://github.com/tokio-rs/axum.git
synced 2024-11-24 08:06:36 +01:00
Fix from_stream doc link to Stream
(#2391)
This commit is contained in:
parent
3c7cf81840
commit
801a78a4cf
1 changed files with 1 additions and 1 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue