ws

Function ws 

Source
pub fn ws<'a, Output, Function>(
    inner: Function,
) -> impl Parser<&'a str, Output = Output, Error = Error<&'a str>>
where Function: Parser<&'a str, Output = Output, Error = Error<&'a str>>,
Expand description

A combinator that takes a parser inner and produces a parser that also consumes both leading and trailing whitespace, returning the output of inner.