mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2024-12-24 10:01:38 +00:00
Merge pull request #2820 from a2/patch-1
[go/en] Fix typo in Go comment
This commit is contained in:
commit
951d71e6c1
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user