You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"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".
The text was updated successfully, but these errors were encountered:
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".
The text was updated successfully, but these errors were encountered: