From e70a6d4178111f0cff7fd6368fc274d97a4e6d18 Mon Sep 17 00:00:00 2001 From: Mark McGranaghan Date: Wed, 10 Oct 2012 22:00:25 -0700 Subject: [PATCH] tweak --- examples/slices/slices.go | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/examples/slices/slices.go b/examples/slices/slices.go index d34022f..9d9620d 100644 --- a/examples/slices/slices.go +++ b/examples/slices/slices.go @@ -7,11 +7,11 @@ import "fmt" func main() { - // In contrast to arrays, slices are typed only - // by the elements it contains (not the number of - // elements). To create an empty slice with non-zero - // length, use the builtin `make`. Here we make a - // slice of `int`s of length 5. + // Unlike arrays, slices are typed only by the + // elements they contain (not the number of elements). + // To create an empty slice with non-zero length, use + // the builtin `make`. Here we make a slice of `int`s + // of length `5`. s := make([]int, 5) // New slices are initially empty-valued.