combine::parser::sequence

Function then

Source
pub fn then<P, F, N>(p: P, f: F) -> Then<P, F>
where F: FnMut(P::Output) -> N, P: Parser, N: Parser<Input = P::Input>,
Expand description

Equivalent to p.then(f).