Guest User

Untitled

a guest
Aug 17th, 2019
80
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. fn main() {
  2. let mut b: [i8; 5] = [1, 2, 3, 4, 5];
  3. let c = &mut b[..];
  4. c[0] = 4;
  5. println!("{:?}", b);
  6. println!("{:?}", c);
  7. }
RAW Paste Data