Skip to main content

ready

Function ready 

Source
pub fn ready<In: Input, T: Clone, Reason>(
    value: T,
) -> impl Parser<In, T, Reason>
Expand description

Returns a parser that always returns the provided value.

Beware that the value is always cloned.