pub fn one() -> One
Returns a new pattern that always matches the next element in the input if it exists.
use bparse::{Pattern, one}; assert_eq!(one().eval(&[1, 2, 3]), Some(1));