Mercurial > lbo > hg > rcombinators
changeset 35:2e935e681f9b
Fix bug in ParseStaet::index
author | Lewin Bormann <lewin@lewin-bormann.info> |
---|---|
date | Fri, 07 Jun 2019 18:10:11 +0200 |
parents | bb8b6310ac95 |
children | d65f832b5e2e |
files | src/state.rs |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/state.rs Fri Jun 07 17:41:54 2019 +0200 +++ b/src/state.rs Fri Jun 07 18:10:11 2019 +0200 @@ -88,7 +88,7 @@ /// Return current index in input. pub fn index(&mut self) -> usize { - self.current + self.global } /// Remember the current position in the input and protect it from buffer garbage collection.