This commit is contained in:
Martin Berg Alstad 2024-07-03 11:24:28 +02:00
parent 284ee73ffd
commit b685d81e00

View File

@ -31,6 +31,7 @@ pub fn parenthesized<'a, Parser, R>(inner: Parser) -> impl FnMut(&'a str) -> IRe
where where
Parser: FnMut(&'a str) -> IResult<&'a str, R>, Parser: FnMut(&'a str) -> IResult<&'a str, R>,
{ {
// TODO move trim out of here
delimited(char('('), trim(inner), char(')')) delimited(char('('), trim(inner), char(')'))
} }