summaryrefslogtreecommitdiff
path: root/Accessing a tuple by index is different from an array.md
blob: 58a93a9891df7fedb2eeed6a81f400e64e4cc5f8 (plain)
1
2
3
[[Rust]]

In rust the way to access a tuple's value by a specific index is done with a `.` rather than `[]`. For an array it is no different from other languages.