From 801a78a4cf387694636a98df4367443258e815a2 Mon Sep 17 00:00:00 2001 From: SecretPocketCat Date: Fri, 1 Dec 2023 16:01:40 +0100 Subject: [PATCH] Fix from_stream doc link to `Stream` (#2391) --- axum-core/src/body.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/axum-core/src/body.rs b/axum-core/src/body.rs index adc79e87..ec865184 100644 --- a/axum-core/src/body.rs +++ b/axum-core/src/body.rs @@ -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(stream: S) -> Self where S: TryStream + Send + 'static,