Closed
Description
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
Metadata
Metadata
Assignees
Labels
No labels