From 7febe48bb84936a3e20c71d5431bce6801564a96 Mon Sep 17 00:00:00 2001 From: digitalcraftsman Date: Thu, 27 Aug 2015 16:25:42 +0200 Subject: [PATCH] Fix typo in c2.6 of the English version --- en/02.6.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/en/02.6.md b/en/02.6.md index b87d63da..20dfbf2a 100644 --- a/en/02.6.md +++ b/en/02.6.md @@ -333,7 +333,7 @@ We can see that the source file in `container/heap` has the following definition type Interface interface { sort.Interface // embedded sort.Interface Push(x interface{}) //a Push method to push elements into the heap - Pop() interface{} //a Pop elements that pops elements from the heap + Pop() interface{} //a Pop method that pops elements from the heap } We see that `sort.Interface` is an embedded interface, so the above Interface has the three methods contained within the `sort.Interface` implicitly.