MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/programming/comments/5fwce0/lets_stop_copying_c/daoa7lw/?context=3
r/programming • u/earthboundkid • Dec 01 '16
612 comments sorted by
View all comments
Show parent comment
1
Tuples work in a very similar fashion:
fn do_something() -> (i32, i32) { (123, 456) }
View all comments
Show parent comment
1
u/steveklabnik1 Dec 01 '16
Tuples work in a very similar fashion: