-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
Should Lex and Parse have the following blanket impl?:
impl<T, O> Parse for &T
where
T: Parse<Output = O>,
{
type Output = O;
fn parse<'i>(&self, input: &'i str) -> ParseResult<'i, Self::Output> {
(*self).parse(input)
}
}Should we have combinators that take references to parsers/lexers?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels