[−][src]Function combine::parser::byte::spaces
pub fn spaces<I>() -> Spaces<I> where
I: Stream<Item = u8>,
I::Error: ParseError<I::Item, I::Range, I::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""[..])));