daily pastebin goal
31%
SHARE
TWEET

Untitled

a guest Sep 12th, 2018 61 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. fn main() {
  2.     let mut x = vec![1, 2, 3, 4];
  3. x.insert(1, 45);
  4. x.insert(2, 33);
  5. x.remove(3);
  6. x.push(200);
  7. x.pop();
  8.     for i in 0..x.len() {
  9.         print!("{} ", x[i]);
  10.     }
  11. }
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