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

_content/doc/tutorial/generics.md: fix typo #291

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions _content/doc/tutorial/generics.md
Original file line number Diff line number Diff line change
Expand Up @@ -439,7 +439,7 @@ Suggested next topics:

<!--TODO: Update text and link after release.-->
You can run this program in the
[Go playground](/play/p/apNmfVwogK0?v=gotip). On the
[Go playground](/play/p/kuUxcdVHtWg?v=gotip). On the
playground simply click the **Run** button.

```
Expand Down Expand Up @@ -509,7 +509,7 @@ func SumIntsOrFloats[K comparable, V int64 | float64](m map[K]V) V {
return s
}

// SumNumbers sums the values of map m. Its supports both integers
// SumNumbers sums the values of map m. It supports both integers
// and floats as map values.
func SumNumbers[K comparable, V Number](m map[K]V) V {
var s V
Expand Down