We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Seek::stream_pos()
1 parent 2beacd4 commit 33a3b26Copy full SHA for 33a3b26
src/pull_parser/reader.rs
@@ -35,7 +35,7 @@ pub trait ParserSource: Sized + io::Read {
35
/// as possible.
36
///
37
/// Reader types with [`std::io::Seek`] can implement this as
38
- /// `self.seek(SeekFrom::Current(0)).unwrap()`, but this is fallible and
+ /// `self.stream_position().unwrap()`, but this is fallible and
39
/// can be inefficient.
40
/// Use of [`PositionCacheReader`] is reccomended.
41
0 commit comments