Skip to content

Better Conventions

Choose a tag to compare

@jsim2010 jsim2010 released this 04 Apr 15:45
a7c43d7

This release makes some changes so that rec better matches Rust conventions.

Breaking Changes

  • Updates some function calls of Pattern to better match Rust convention: define -> new, load -> from_str of std::str::FromStr trait.
  • Location now provides end- the index at which the match ends, in place oflength`.

New features

  • TokensIter and Locations implement Debug (although the current implementation is rather unhelpful).