summaryrefslogtreecommitdiff
path: root/Accessing a tuple by index is different from an array.md
diff options
context:
space:
mode:
authorJasper Ras <jras@hostnet.nl>2025-08-03 22:29:47 +0200
committerJasper Ras <jras@hostnet.nl>2025-08-03 22:29:47 +0200
commit931eb0894e7cd3717f1218f0eb06382b11734c13 (patch)
treeb6ad9b0d98a8f26e496c91ad3f24d1c855b654df /Accessing a tuple by index is different from an array.md
parentaf98004d2cf437603f47f4224110a80d76d0d7de (diff)
vault backup: 2025-08-03 22:29:47
Diffstat (limited to 'Accessing a tuple by index is different from an array.md')
-rw-r--r--Accessing a tuple by index is different from an array.md3
1 files changed, 3 insertions, 0 deletions
diff --git a/Accessing a tuple by index is different from an array.md b/Accessing a tuple by index is different from an array.md
new file mode 100644
index 0000000..58a93a9
--- /dev/null
+++ b/Accessing a tuple by index is different from an array.md
@@ -0,0 +1,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. \ No newline at end of file