[−][src]Function combine::parser::byte::spaces
pub fn spaces<Input>() -> impl Parser<Input, Output = ()> where
Input: Stream<Token = u8>,
Input::Error: ParseError<Input::Token, Input::Range, Input::Position>,
Skips over space
zero or more times
use combine::Parser; use combine::parser::byte::spaces; assert_eq!(spaces().parse(&b""[..]), Ok(((), &b""[..]))); assert_eq!(spaces().parse(&b" "[..]), Ok(((), &b""[..])));