Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tour: type switch compares types #207

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

crisman
Copy link
Contributor

@crisman crisman commented Mar 7, 2023

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

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
@gopherbot
Copy link
Contributor

This PR (HEAD: 646a106) 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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

tour: Type switches
2 participants