Fix "initialized" typo.

This commit is contained in:
Levi Bostian 2014-09-05 21:02:38 -05:00
parent 1fb4886020
commit 291f6f6b22

View File

@ -92,7 +92,7 @@ can include line breaks.` // Same string type.
// Arrays have size fixed at compile time.
var a4 [4]int // An array of 4 ints, initialized to all 0.
a3 := [...]int{3, 1, 5} // An array initialzed with a fixed size of three
a3 := [...]int{3, 1, 5} // An array initialized with a fixed size of three
// elements, with values 3, 1, and 5.
// Slices have dynamic size. Arrays and slices each have advantages