Skip to content

Commit

Permalink
_content/doc: update generics tutorial to not mention constraints pac…
Browse files Browse the repository at this point in the history
…kage

Following decision in golang/go#50792

Change-Id: I71d74b4b386aacef5319663c397479cac6feb32f
Reviewed-on: https://go-review.googlesource.com/c/website/+/383694
Reviewed-by: DO NOT USE <[email protected]>
Reviewed-by: Eli Bendersky <[email protected]>
  • Loading branch information
passionSeven committed Feb 8, 2022
1 parent 9d4ad1e commit 0d092cf
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions _content/doc/tutorial/generics.md
Original file line number Diff line number Diff line change
Expand Up @@ -468,10 +468,6 @@ Generic Sums with Constraint: 46 and 62.97
Nicely done! You've just introduced yourself to generics in Go.
If you want to keep experimenting, you can try writing the `Number` interface
in terms of `constraints.Integer` and `constraints.Float`, to allow more
numeric types.
Suggested next topics:
* The [Go Tour](https://tour.golang.org/welcome/1) is a great step-by-step
Expand Down

0 comments on commit 0d092cf

Please sign in to comment.