pub fn noop() -> Constant<()>
Leaf parser that consumes no input and always succeeds, returning ().
Leaf
()
assert_eq!( parser::noop().parse(b"abc"), Ok(((), &b"abc"[..])) );