Skip to content

Commit 1d1cef9

Browse files
committed
Fix compile error
1 parent c840978 commit 1d1cef9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

opentelemetry-http/src/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ pub mod hyper {
180180
cx: &mut task::Context<'_>,
181181
) -> Poll<Option<Result<Frame<Self::Data>, Self::Error>>> {
182182
let inner_body = unsafe { self.map_unchecked_mut(|b| &mut b.0) };
183-
inner_body.poll_frame(cx)
183+
inner_body.poll_frame(cx).map_err(Into::into)
184184
}
185185

186186
#[inline]

0 commit comments

Comments
 (0)