1
0
mirror of https://github.com/adambard/learnxinyminutes-docs.git synced 2025-08-01 04:20:39 +02:00

Merge pull request #2820 from a2/patch-1

[go/en] Fix typo in Go comment
This commit is contained in:
Andre Polykanine A.K.A. Menelion Elensúlë
2017-08-23 01:42:45 +03:00
committed by GitHub

View File

@@ -99,7 +99,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.
a5 := [...]int{3, 1, 5, 10, 100} // An array initialized with a fixed size of fize
a5 := [...]int{3, 1, 5, 10, 100} // An array initialized with a fixed size of five
// elements, with values 3, 1, 5, 10, and 100.
// Slices have dynamic size. Arrays and slices each have advantages