Skip to content

Tuple indexing syntax is missing from the rust book #23962

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

Closed
andreabedini opened this issue Apr 2, 2015 · 1 comment
Closed

Tuple indexing syntax is missing from the rust book #23962

andreabedini opened this issue Apr 2, 2015 · 1 comment

Comments

@andreabedini
Copy link
Contributor

It seems tuple indexing syntax is not introduced anywhere in the current documentation.

It shows up briefly here http://doc.rust-lang.org/nightly/reference.html#tuple-types as

assert!(p.0 == 10);

but nowhere else.

I think it should be introduced both there and here http://doc.rust-lang.org/nightly/book/compound-data-types.html#tuples

I'd help with some text but but there's nothing I hate more than writing :)

ping @steveklabnik

@steveklabnik
Copy link
Member

I thought I had this in somewhere, but maybe I don't

steveklabnik added a commit to steveklabnik/rust that referenced this issue Apr 16, 2015
steveklabnik added a commit to steveklabnik/rust that referenced this issue Apr 16, 2015
steveklabnik added a commit to steveklabnik/rust that referenced this issue Apr 17, 2015
GuillaumeGomez pushed a commit to GuillaumeGomez/rust that referenced this issue Apr 17, 2015
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.

2 participants