Fix type annotation in guide

This commit is contained in:
Jakub Vrána 2015-01-06 15:30:22 -08:00
parent ea6f65c5f1
commit 94c170e366

View file

@ -1653,7 +1653,7 @@ for e in a.iter() {
You can access a particular element of an array with **subscript notation**:
```{rust}
let names = ["Graydon", "Brian", "Niko"]; // names: [&str, 3]
let names = ["Graydon", "Brian", "Niko"]; // names: [&str; 3]
println!("The second name is: {}", names[1]);
```