Skip to content

Commit

Permalink
Fix build with async feature
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexTMjugador committed Oct 12, 2024
1 parent a1a74a5 commit 04cbc38
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/reading.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1235,7 +1235,7 @@ pub mod async_api {
/// from other runtimes, and implementing a Tokio `AsyncRead`
/// compatibility layer oneself is not desired.
pub fn new_compat(inner :T) -> Self {
Self::new_compat_with_page_parse_opts(inner.compat(), PageParsingOptions::default())
Self::new_compat_with_page_parse_opts(inner, PageParsingOptions::default())
}

/// Wraps the specified futures_io `AsyncRead` into an Ogg packet
Expand Down

0 comments on commit 04cbc38

Please sign in to comment.