Guest User

Untitled

a guest
Jun 19th, 2018
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.14 KB | None | 0 0
  1. struct Apple(i32);
  2. struct Orange(i32);
  3.  
  4. fn main() {
  5. let mut a = Apple(1);
  6. let o = Orange(2);
  7. a.0 += 1;
  8. a.0 -= 1;
  9. a.0 *= 2;
  10. }
Add Comment
Please, Sign In to add comment