Skip to content

Commit 04cbc38

Browse files
committed
Fix build with async feature
1 parent a1a74a5 commit 04cbc38

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/reading.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1235,7 +1235,7 @@ pub mod async_api {
12351235
/// from other runtimes, and implementing a Tokio `AsyncRead`
12361236
/// compatibility layer oneself is not desired.
12371237
pub fn new_compat(inner :T) -> Self {
1238-
Self::new_compat_with_page_parse_opts(inner.compat(), PageParsingOptions::default())
1238+
Self::new_compat_with_page_parse_opts(inner, PageParsingOptions::default())
12391239
}
12401240

12411241
/// Wraps the specified futures_io `AsyncRead` into an Ogg packet

0 commit comments

Comments
 (0)