We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d94fa76 commit 211da74Copy full SHA for 211da74
_content/blog/alias-names.md
@@ -188,7 +188,7 @@ It is not obvious that the minor convenience is worth the complication.
188
189
2) If the alias declaration doesn't need to declare its own type parameters and
190
instead simply "inherits" them from the aliased type `pkg1.G`, the declaration of
191
-`A` provides no indication that it is a generic type.
+`G` provides no indication that it is a generic type.
192
Its type parameters and constraints would have to be retrieved from the declaration
193
of `pkg1.G` (which itself might be an alias).
194
Readability will suffer, yet readable code is one of the primary aims of the Go project.
0 commit comments