pub fn ws<'a, F: 'a, O, E: ParseError<&'a str>>(inner: F) -> impl FnMut(&'a str) -> IResult<&'a str, O, E>
  where
  F: FnMut(&'a str) -> IResult<&'a str, O, E>,
{
  nom::sequence::delimited(
    nom::character::complete::multispace0,
    inner,
    nom::character::complete::multispace0,
  )
}
/// A combinator that takes a parser `inner` and produces a parser that also consumes both leading
/// and trailing whitespace, returning the output of `inner`.
/// See `https://docs.rs/nom/6.0.1/nom/recipes/index.html` for details.
A combinator that takes a parser `inner` and produces a parser that also consumes both leading
and trailing whitespace, returning the output of `inner`.
A combinator that takes a parser ` inner ` and produces a parser that also consumes both leading and trailing whitespace returning the output of ` inner ` .
pub fn ws<'a, F: 'a, O, E: ParseError<&'a str>>(inner: F) -> impl FnMut(&'a str) -> IResult<&'a str, O, E>
  where
  F: FnMut(&'a str) -> IResult<&'a str, O, E>,
{
  nom::sequence::delimited(
    nom::character::complete::multispace0,
    inner,
    nom::character::complete::multispace0,
  )
}
pub fn ws < ' a , F : ' a , O , E : ParseError < & ' a str > > ( inner : F ) -> impl FnMut ( & ' a str ) -> IResult < & ' a str , O , E > where F : FnMut ( & ' a str ) -> IResult < & ' a str , O , E > , { nom :: sequence :: delimited ( nom :: character :: complete :: multispace0 , inner , nom :: character :: complete :: multispace0 , ) }
A combinator that takes a parser `inner` and produces a parser that also consumes both leading
and trailing whitespace, returning the output of `inner`.
A combinator that takes a parser ` inner ` and produces a parser that also consumes both leading and trailing whitespace returning the output of ` inner ` .
inner
F
inner
F