Closed cetra3 closed 7 years ago
Appears to be related to the collect()
function, that returns ALL symbols, including discarded ones. Is this desired?
Yes, collect()
returns all symbols. Try
fn untilspace<'a>() -> Parser<'a, u8, String> {
space() * none_of(b" ").repeat(0..).convert(String::from_utf8)
}
Not sure if I'm doing things wrong here:
Error I get is: