Function rusticata_macros::combinator::pure

source ยท
pub fn pure<I, O, E: ParseError<I>>(val: O) -> impl Fn(I) -> IResult<I, O, E>
where O: Clone,
Expand description

Create a combinator that returns the provided value, and input unchanged