Guest User

Untitled

a guest
May 21st, 2018
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.20 KB | None | 0 0
  1. #[macro_use]
  2. extern crate nom;
  3.  
  4. named!(fails<&[u8],(Vec<&[u8]>,&[u8])>,
  5. many_till!(
  6. tag!(">"),
  7. eof!()
  8. )
  9. );
  10.  
  11. pub fn main() {
  12. let res = fails(b">>");
  13.  
  14. println!("{:?}",res);
  15. }
Add Comment
Please, Sign In to add comment