Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Guide: implies tuples have (only) two elements #17222

Closed
bjpop opened this issue Sep 13, 2014 · 0 comments
Closed

Guide: implies tuples have (only) two elements #17222

bjpop opened this issue Sep 13, 2014 · 0 comments

Comments

@bjpop
Copy link

bjpop commented Sep 13, 2014

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".

@huonw huonw added the A-docs label Sep 13, 2014
steveklabnik added a commit to steveklabnik/rust that referenced this issue Sep 13, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants