Closed
Description
In Section 9.1 Tuples, the Guide says:
"Even though Rust functions can only return one value, a tuple is one value, that happens to be made up of two. "
The example that this text follows does indeed use a 2-tuple, but other tuples could have more (or fewer?) elements than 2.
Perhaps it should read:
"Even though Rust functions can only return one value, a tuple is one value, that happens to contain multiple values. " (retaining your original emphasis on the word "is".
Metadata
Metadata
Assignees
Labels
No labels