commit | 5c1de7bed96787c5610f8e046bce8b2a3f0cef0e | [log] [tgz] |
---|---|---|
author | jiahua wang <wjh180909@gmail.com> | Fri Jan 28 15:57:51 2022 +0800 |
committer | DO NOT USE <iant@google.com> | Tue Feb 08 23:38:54 2022 +0000 |
tree | c1b36ca9f0704cc6af2fef5378bc6a0b5311ce8c | |
parent | 3547304864839a34537d4784b2e661b091d4c378 [diff] |
_content/doc/tutorial: fix a typo Fixes golang/go#50853 Change-Id: Ia09043435f23b979a2a0d198318096e6ecf52cb5 Reviewed-on: https://go-review.googlesource.com/c/website/+/381654 Reviewed-by: DO NOT USE <iant@google.com> Trust: Cherry Mui <cherryyz@google.com>
diff --git a/_content/doc/tutorial/generics.md b/_content/doc/tutorial/generics.md index 8220417..95c6583 100644 --- a/_content/doc/tutorial/generics.md +++ b/_content/doc/tutorial/generics.md
@@ -417,7 +417,7 @@ `SumNumbers` function. ``` - // 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