diff options
author | Adam <adam@adambard.com> | 2014-09-06 10:18:55 +0200 |
---|---|---|
committer | Adam <adam@adambard.com> | 2014-09-06 10:18:55 +0200 |
commit | 94bdf4c9e58dd206babf4614d238a0c47ba2379d (patch) | |
tree | 6664112474e7b8256eebc2c442aa8d37fab57594 /go.html.markdown | |
parent | 014262f5c62ae1904b5e70135aca8c56540abc78 (diff) | |
parent | 4420cd1e6bad8a1c0a4ad6f386a4976f3f7b9ecd (diff) |
Merge branch 'master' of github.com:adambard/learnxinyminutes-docs
Diffstat (limited to 'go.html.markdown')
-rw-r--r-- | go.html.markdown | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/go.html.markdown b/go.html.markdown index bedc3042..b4c6afff 100644 --- a/go.html.markdown +++ b/go.html.markdown @@ -92,7 +92,8 @@ 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 of 3 ints, initialized as shown. + 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 // but use cases for slices are much more common. |