You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
typeParseState<'a> = Enumerate<Chars<'a>>;structParseResult<'a>{value:Option<uint>,// something more complicated in actual codeparse_state:ParseState<'a>}fnapply<'a>(&self,parse_state:ParseState<'a>) -> Option<ParseResult<'a>>
The idea is to parse the input and also return an iterator that's correctly advanced. I'm writing a test for this and Iterators not implementing Eq is making this more difficult than it needs to be.