Function combine::char::tab
[−]
[src]
pub fn tab<I>() -> Tab<I> where
I: Stream<Item = char>,
Parses a tab character.
use combine::Parser; use combine::char::tab; assert_eq!(tab().parse("\t"), Ok(('\t', ""))); assert!(tab().parse(" ").is_err());