Remove rust_parser::reset rust_parser::reset is a bit of a hack: it exists only for self-testing, and it modifies the underlying parser_state object -- but incompletely (for instance, it doesn't update start_of_input). It seems to me that it's fine for self-testing to simply create a new parser object for each test. This allows for the removal of the 'reset' method.