We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
::from
1 parent abfb321 commit 9c8878eCopy full SHA for 9c8878e
opentelemetry-http/src/lib.rs
@@ -152,7 +152,7 @@ pub mod hyper {
152
{
153
async fn send(&self, request: Request<Vec<u8>>) -> Result<Response<Bytes>, HttpError> {
154
let (parts, body) = request.into_parts();
155
- let mut request: Request<B> = Request::from_parts(parts, body.into());
+ let mut request = Request::from_parts(parts, B::from(body));
156
if let Some(ref authorization) = self.authorization {
157
request
158
.headers_mut()
0 commit comments