Merge pull request #521 from digitalcraftsman/fix-typos-c2.6-en
Fix typo in c2.6 of the English version
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user