pub fn one<In: Input, Reason>(
pat: impl IntoPattern,
) -> impl Parser<In, In, Reason>Expand description
Parses 1 instance of pattern pat.
§Errors
The returned parser returns a recoverable error if the pattern didn’t match at the beginning of the input.