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