Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- fn main() {
- let x = 3;
- // Copy x into x1
- let x1 = x;
- // No error when accessing x
- println!("{}", x);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement