]> Cypherpunks repositories - gostls13.git/commitdiff
doc: fix typo "heirarchy"
authorRuss Cox <rsc@golang.org>
Fri, 11 Dec 2015 16:35:36 +0000 (11:35 -0500)
committerBrad Fitzpatrick <bradfitz@golang.org>
Mon, 14 Dec 2015 15:16:25 +0000 (15:16 +0000)
Change-Id: Iae2bf44ec15975f440d026fd52fcccfbd9c598d9
Reviewed-on: https://go-review.googlesource.com/17740
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
doc/go_faq.html

index f198379fe5f4960b647bfb866901d483761e35c7..bcd12075b64c6f946e08be28aa5379c6aacc085a 100644 (file)
@@ -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>