Find
C
ase-sensitive
R
egexp search
Path
comm-central
/
third_party
/
rust
/
nom
/
src
/
combinator
Navigation
Enable keyboard shortcuts
Name
Description
Size
mod.rs
General purpose combinators
22846
tests.rs
#[test] fn t1() { let v1:Vec<u8> = vec![1,2,3]; let v2:Vec<u8> = vec![4,5,6]; let d = Ok((&v1[..], &v2[..])); let res = d.flat_map(print); assert_eq!(res, Ok((&v2[..], ()))); }
6536