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 <iant@google.com>
Reviewed-by: Eli Bendersky <eliben@google.com>
  • Loading branch information
eliben committed Feb 8, 2022
1 parent c4c0da8 commit ac99473
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 ac99473

Please sign in to comment.