golang / tour

[mirror] A Tour of Go
BSD 3-Clause "New" or "Revised" License
1.53k stars 521 forks source link

tour: typo in code snippet #1594

Closed RasulIslyamgali closed 2 months ago

RasulIslyamgali commented 4 months ago

Context: https://go.dev/tour/list

into page https://go.dev/tour/moretypes/15 there are below code snippet:

func append(s []T, vs ...T) []T

i want to propose below code snippet, in which used "elems" instead "vs"

func append(s []T, elems ...T) []T
ALTree commented 2 months ago

I think vs in fine, the point is just to show the signature of the function.