3 ms·
The .0 is a tuple access. Foo is a 'tuple struct' of length 1: http://doc.rust-lang.org/nightly/book/tuple-structs.html http://doc.rust-lang.org/nightly/book/tu
by steveklabnik 12y ago
The .0 is a tuple access. Foo is a 'tuple struct' of length 1: http://doc.rust-lang.org/nightly/book/tuple-structs.html http://doc.rust-lang.org/nightly/book/tuple-structs.html (though the syntax is explained in the section on tuples: http://doc.rust-lang.org/nightly/book/primitive-types.html#tuple-indexing http://doc.rust-lang.org/nightly/book/primitive-types.html#t... )
- mcguire 12y agoAh! Cool. Thanks!