mirror of
https://github.com/tokio-rs/axum.git
synced 2026-08-24 00:00:16 +02:00
Fix from_stream doc link to Stream (#2391)
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user