diff options
| author | Jakub Vrána <jakub@vrana.cz> | 2015-01-06 15:30:22 -0800 |
|---|---|---|
| committer | Jakub Vrána <jakub@vrana.cz> | 2015-01-06 15:30:22 -0800 |
| commit | 94c170e366607871174119ccd41c7b2ee5ba7ea6 (patch) | |
| tree | 6200efa8596c963d168468178fc5f71a1f59b382 | |
| parent | ea6f65c5f1a3f84e010d2cef02a0160804e9567a (diff) | |
| download | rust-94c170e366607871174119ccd41c7b2ee5ba7ea6.tar.gz rust-94c170e366607871174119ccd41c7b2ee5ba7ea6.zip | |
Fix type annotation in guide
| -rw-r--r-- | src/doc/guide.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/doc/guide.md b/src/doc/guide.md index 66551ec499a..87d84464b1a 100644 --- a/src/doc/guide.md +++ b/src/doc/guide.md @@ -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]); ``` |
