mirror of
https://github.com/google/comprehensive-rust.git
synced 2024-12-04 19:45:19 +02:00
Tuples with "..." make no sense, so don't use them
This commit is contained in:
parent
06b594b47a
commit
4126cbd519
@ -3,7 +3,7 @@
|
||||
| | Types | Literals |
|
||||
|--------|---------------------|--------------------------|
|
||||
| Arrays | `[T; N]` | `[20, 30, 40]`, `[0; 3]` |
|
||||
| Tuples | `(T1, T2, T3, ...)` | `('x', 1.2, 0)` |
|
||||
| Tuples | `(T1, T2, T3)` | `('x', 1.2, 0)` |
|
||||
|
||||
Array assignment and access:
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user