diff options
Diffstat (limited to 'tools/go_generics/generics.go')
-rw-r--r-- | tools/go_generics/generics.go | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/tools/go_generics/generics.go b/tools/go_generics/generics.go index e3912ef2a..e9cc2c753 100644 --- a/tools/go_generics/generics.go +++ b/tools/go_generics/generics.go @@ -82,9 +82,10 @@ // Note that the second call to g() kept "b" as an argument because it refers to // the local variable "b". // -// Note that go_generics can handle anonymous fields with renamed types if -anon is passed in, -// however it does not perform strict checking on parameter types that share the same name -// as the global type and therefore will rename them as well. +// Note that go_generics can handle anonymous fields with renamed types if +// -anon is passed in, however it does not perform strict checking on parameter +// types that share the same name as the global type and therefore will rename +// them as well. // // You can see an example in the tools/go_generics/generics_tests/interface test. package main |