Fix typo in c2.6 of the English version

This commit is contained in:
digitalcraftsman
2015-08-27 16:25:42 +02:00
committed by James Miranda
parent 30704f8481
commit 44c7ead800

View File

@@ -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.