Fix from_stream doc link to Stream (#2391)

This commit is contained in:
SecretPocketCat
2023-12-01 16:01:40 +01:00
committed by GitHub
parent 3c7cf81840
commit 801a78a4cf
+1 -1
View File
@@ -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,