diff options
Diffstat (limited to 'src/offset.rs')
-rw-r--r-- | src/offset.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/offset.rs b/src/offset.rs index 8809366..3152c78 100644 --- a/src/offset.rs +++ b/src/offset.rs @@ -68,7 +68,7 @@ impl<R> PosTrackingReader<R> { impl<R> Position<usize> for PosTrackingReader<R> { fn position(&self) -> usize { - self.position - 1 + self.position } } |