Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- fn main() {
- let mut w: &str = "Hello";
- w = "world";
- println! ("{}",w);
- #watP
- let y: i64 = 200000;
- let newtup = ("no",false,1);
- println! ("{}", newtup.0);
- let x = if w == "world" {
- 10
- } else {
- 5
- };
- println! ("{}", x);
- let mut x = 1;
- let mut z = &mut x;
- let y = &mut z;
- }
Add Comment
Please, Sign In to add comment