hugolib: Fix spelling mistake

This commit is contained in:
Bjørn Erik Pedersen 2016-03-23 17:12:47 +01:00
parent c31fa378c7
commit dac34f9bfd

View file

@ -32,7 +32,7 @@ type PageSorter struct {
// PageBy is a closure used in the Sort.Less method. // PageBy is a closure used in the Sort.Less method.
type PageBy func(p1, p2 *Page) bool type PageBy func(p1, p2 *Page) bool
// Sort stable sorts the pages given the receiver's sort oder. // Sort stable sorts the pages given the receiver's sort order.
func (by PageBy) Sort(pages Pages) { func (by PageBy) Sort(pages Pages) {
ps := &PageSorter{ ps := &PageSorter{
pages: pages, pages: pages,