Skip to content

Commit

Permalink
align comments //
Browse files Browse the repository at this point in the history
  • Loading branch information
donbright committed Nov 21, 2015
1 parent a57b638 commit cc5e06c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -336,8 +336,8 @@ var b = a[lo:hi] // creates a slice (view of the array) from index lo to hi-1
var b = a[1:4] // slice from index 1 to 3
var b = a[:3] // missing low index implies 0
var b = a[3:] // missing high index implies len(a)
var c = append(a,17,3) // append items to slice a
var c = append(a,b...) // concatenate slices a and b
c := append(a,17,3) // append items to slice a
c := append(a,b...) // concatenate slices a and b


// create a slice with make
Expand Down

0 comments on commit cc5e06c

Please sign in to comment.