Advertisement
cwchen

[Rust] A small Rust program.

Aug 22nd, 2017
502
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Rust 0.07 KB | None | 0 0
  1. fn main() {
  2.     let mut x = 3;
  3.     x = x + 1;
  4.     assert_eq!(x, 4);
  5. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement