website icon indicating copy to clipboard operation
website copied to clipboard

tour: type switch compares types

Open crisman opened this issue 1 year ago • 1 comments

In "methods/16" ("Type switches") the current slide explicitly says "a type switch specify types (not values)" and then talks about "those values" which should be "types". Quoting the spec "A type switch compares types rather than values."

Replaced "values" with "types" where the slide is talking about types.

Fixes golang/tour#1461

crisman avatar Mar 07 '23 05:03 crisman

This PR (HEAD: 646a106d803ca557060d0eb86c5835c38090e463) has been imported to Gerrit for code review.

Please visit https://go-review.googlesource.com/c/website/+/473818 to see it.

Tip: You can toggle comments from me using the comments slash command (e.g. /comments off) See the Wiki page for more info

gopherbot avatar Mar 07 '23 05:03 gopherbot