Commit cf49b35b authored by Russ Cox's avatar Russ Cox Committed by Brad Fitzpatrick

doc: fix typo "heirarchy"

Change-Id: Iae2bf44ec15975f440d026fd52fcccfbd9c598d9
Reviewed-on: https://go-review.googlesource.com/17740Reviewed-by: 's avatarBrad Fitzpatrick <bradfitz@golang.org>
parent 0478f7b9
......@@ -885,7 +885,7 @@ Go separates the notion of what a
type does&mdash;its methods&mdash;from the type's implementation.
If two methods return different types, they are not doing the same thing.
Programmers who want covariant result types are often trying to
express a type heirarchy through interfaces.
express a type hierarchy through interfaces.
In Go it's more natural to have a clean separation between interface
and implementation.
</p>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment