pub fn pure<I, O, E>(val: O) -> impl Fn(I)where
E: ParseError<I>,
O: Clone,
Available on crate feature
mtls
only.Expand description
Create a combinator that returns the provided value, and input unchanged
pub fn pure<I, O, E>(val: O) -> impl Fn(I)where
E: ParseError<I>,
O: Clone,
mtls
only.Create a combinator that returns the provided value, and input unchanged