From 94c170e366607871174119ccd41c7b2ee5ba7ea6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Vr=C3=A1na?= Date: Tue, 6 Jan 2015 15:30:22 -0800 Subject: [PATCH] Fix type annotation in guide --- src/doc/guide.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/doc/guide.md b/src/doc/guide.md index 66551ec499a8..87d84464b1ab 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]); ```