Function combine::char::spaces
[−]
[src]
pub fn spaces<I>() -> Spaces<I> where
I: Stream<Item = char>,
Skips over zero or more spaces according to std::char::is_whitespace
.
This includes space characters, tabs and newlines.
use combine::Parser; use combine::char::spaces; assert_eq!(spaces().parse(""), Ok(((), ""))); assert_eq!(spaces().parse(" "), Ok(((), "")));