diff --git a/src/pull_parser/reader.rs b/src/pull_parser/reader.rs index 6773875..44ec8f7 100644 --- a/src/pull_parser/reader.rs +++ b/src/pull_parser/reader.rs @@ -35,7 +35,7 @@ pub trait ParserSource: Sized + io::Read { /// as possible. /// /// Reader types with [`std::io::Seek`] can implement this as - /// `self.seek(SeekFrom::Current(0)).unwrap()`, but this is fallible and + /// `self.stream_position().unwrap()`, but this is fallible and /// can be inefficient. /// Use of [`PositionCacheReader`] is reccomended. ///