Part 7. Arrays, Slices, and Strings
An array is a group of values stored next to each other.
| Section | Title |
|---|---|
| 1 | Fixed Arrays |
| 2 | Array Literals |
| 3 | Multidimensional Arrays |
| 4 | Slices in Detail |
| 5 | Slice Lifetimes |
| 6 | String Literals |
| 7 | Mutable Strings |
| 8 | UTF-8 Processing |
| 9 | Building Dynamic Strings |
| 10 | Efficient Text Processing |
Array Literals
An array literal is the syntax you use to write array values directly in source code.