daily pastebin goal
46%
SHARE
TWEET

Untitled

a guest Mar 19th, 2019 51 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. fn main() {
  2.     let v = vec![1, 2, 3];
  3.     let _v: Vec<_>= v.into_iter()
  4.         .map(|mut it| { it +=1; it })
  5.         .filter(|i| i < &10)
  6.         .collect();
  7. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top