Function abortable_parser::combinators::must [−][src]
pub fn must<I, O>(result: Result<I, O>) -> Result<I, O> where
I: InputIter,
Maps a Result::Fail
to a Result::Abort
.
It leaves the rest of the Result variants untouched.
The must!
macro provided syntactice sugar for using this combinator.