diff --git a/rust-runtime/aws-smithy-types/src/body/http_body_1_x.rs b/rust-runtime/aws-smithy-types/src/body/http_body_1_x.rs index 48c8ebff56..6b3278d987 100644 --- a/rust-runtime/aws-smithy-types/src/body/http_body_1_x.rs +++ b/rust-runtime/aws-smithy-types/src/body/http_body_1_x.rs @@ -16,8 +16,6 @@ use crate::body::{Error, SdkBody}; impl SdkBody { /// Construct an `SdkBody` from a type that implements [`http_body_1_0::Body`](http_body_1_0::Body). - /// - /// _Note: This is only available with `http-body-1-0` enabled._ pub fn from_body_1_x(body: T) -> Self where T: http_body_1_0::Body + Send + Sync + 'static, diff --git a/rust-runtime/aws-smithy-types/src/byte_stream/http_body_1_x.rs b/rust-runtime/aws-smithy-types/src/byte_stream/http_body_1_x.rs index eacb7540d1..bff8b201eb 100644 --- a/rust-runtime/aws-smithy-types/src/byte_stream/http_body_1_x.rs +++ b/rust-runtime/aws-smithy-types/src/byte_stream/http_body_1_x.rs @@ -10,9 +10,7 @@ use crate::byte_stream::ByteStream; use bytes::Bytes; impl ByteStream { - /// Construct a `ByteStream` from a type that implements [`http_body_0_4::Body`](http_body_0_4::Body). - /// - /// _Note: This is only available with `http-body-0-4-x` enabled._ + /// Construct a `ByteStream` from a type that implements [`http_body_1_0::Body`](http_body_1_0::Body). pub fn from_body_1_x(body: T) -> Self where T: http_body_1_0::Body + Send + Sync + 'static,