fn spaced<'a, E, F, O>(parser: F) -> impl Fn(&'a str) -> IResult<&'a str, O, E>
where
    F: Fn(&'a str) -> IResult<&'a str, O, E>,
    E: NomParseError<&'a str>,
{
    preceded(whitespace0, parser)
}
/// Parses an input containing any number and type of whitespace at the front.
Parses an input containing any number and type of whitespace at the front.
Parses an input containing any number and type of whitespace at the front .
fn spaced<'a, E, F, O>(parser: F) -> impl Fn(&'a str) -> IResult<&'a str, O, E>
where
    F: Fn(&'a str) -> IResult<&'a str, O, E>,
    E: NomParseError<&'a str>,
{
    preceded(whitespace0, parser)
}
fn spaced < ' a , E , F , O > ( parser : F ) -> impl Fn ( & ' a str ) -> IResult < & ' a str , O , E > where F : Fn ( & ' a str ) -> IResult < & ' a str , O , E > , E : NomParseError < & ' a str > , { preceded ( whitespace0 , parser ) }
Parses an input containing any number and type of whitespace at the front.
Parses an input containing any number and type of whitespace at the front .
parser
F
parser
F