Skip to content

Commit 55eaa2f

Browse files
committed
Fix doc comments
1 parent 62952e1 commit 55eaa2f

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

rust-runtime/aws-smithy-types/src/body/http_body_1_x.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,6 @@ use crate::body::{Error, SdkBody};
1616

1717
impl SdkBody {
1818
/// Construct an `SdkBody` from a type that implements [`http_body_1_0::Body<Data = Bytes>`](http_body_1_0::Body).
19-
///
20-
/// _Note: This is only available with `http-body-1-0` enabled._
2119
pub fn from_body_1_x<T, E>(body: T) -> Self
2220
where
2321
T: http_body_1_0::Body<Data = Bytes, Error = E> + Send + Sync + 'static,

rust-runtime/aws-smithy-types/src/byte_stream/http_body_1_x.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,7 @@ use crate::byte_stream::ByteStream;
1010
use bytes::Bytes;
1111

1212
impl ByteStream {
13-
/// Construct a `ByteStream` from a type that implements [`http_body_0_4::Body<Data = Bytes>`](http_body_0_4::Body).
14-
///
15-
/// _Note: This is only available with `http-body-0-4-x` enabled._
13+
/// Construct a `ByteStream` from a type that implements [`http_body_1_0::Body<Data = Bytes>`](http_body_1_0::Body).
1614
pub fn from_body_1_x<T, E>(body: T) -> Self
1715
where
1816
T: http_body_1_0::Body<Data = Bytes, Error = E> + Send + Sync + 'static,

0 commit comments

Comments
 (0)