(p: &mut Parser<'a, I>)
| 22 | I: Iterator<Item = Cursor> + Clone; |
| 23 | |
| 24 | fn try_parse<I>(p: &mut Parser<'a, I>) -> Result<Self> |
| 25 | where |
| 26 | I: Iterator<Item = Cursor> + Clone, |
| 27 | { |
| 28 | let checkpoint = p.checkpoint(); |
| 29 | Self::parse(p).inspect_err(|_| p.rewind(checkpoint)) |
| 30 | } |
| 31 | } |
| 32 | |
| 33 | impl<'a, T> Parse<'a> for Option<T> |
nothing calls this directly
no test coverage detected