Skip to content

3.0.0

Compare
Choose a tag to compare
@J-F-Liu J-F-Liu released this 12 Dec 14:43
· 38 commits to master since this release
  • 3.0 is based on 1.0 and changed:
pub struct Parser<'a, I, O> {
    method: Box<Fn(&mut Input<I>) -> Result<O> + 'a>,
}

to

pub struct Parser<'a, I, O> {
    method: Box<Fn(&'a [I], usize) -> Result<(O, usize)> + 'a>,
}

This is like 2.0 version, but avoids potential issue such as #23.

  • Toolchain switched to Rust 2018 stable channel.