Function pure
pub fn pure<I, O, E>(val: O) -> impl Fn(I)where
E: ParseError<I>,
O: Clone,Available on crate feature
crypto 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,crypto only.Create a combinator that returns the provided value, and input unchanged