Skip to content

Commit

Permalink
Fix doc comments
Browse files Browse the repository at this point in the history
  • Loading branch information
rcoh committed Dec 13, 2023
1 parent 62952e1 commit 55eaa2f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
2 changes: 0 additions & 2 deletions rust-runtime/aws-smithy-types/src/body/http_body_1_x.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@ use crate::body::{Error, SdkBody};

impl SdkBody {
/// Construct an `SdkBody` from a type that implements [`http_body_1_0::Body<Data = Bytes>`](http_body_1_0::Body).
///
/// _Note: This is only available with `http-body-1-0` enabled._
pub fn from_body_1_x<T, E>(body: T) -> Self
where
T: http_body_1_0::Body<Data = Bytes, Error = E> + Send + Sync + 'static,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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<Data = Bytes>`](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<Data = Bytes>`](http_body_1_0::Body).
pub fn from_body_1_x<T, E>(body: T) -> Self
where
T: http_body_1_0::Body<Data = Bytes, Error = E> + Send + Sync + 'static,
Expand Down

0 comments on commit 55eaa2f

Please sign in to comment.