Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- fn three() -> (i32, i32, i32) {
- (1, 2, 3)
- }
- fn main() {
- let (x, y, z) = three();
- println!("{} + {} = {}", x, y, z);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement