1 2 3 4 5 6 7 8 9 10
extern crate combine; use combine::{many, Parser}; use combine::char::letter; #[test] fn readme() { let result = many(letter()).parse("hello world"); assert_eq!(result, Ok(("hello".to_string(), " world"))); }