small linter & typo fixes

This commit is contained in:
Lucas Clemente
2016-06-06 09:37:17 +02:00
parent 3f86e0f198
commit d5aced6e03
4 changed files with 5 additions and 5 deletions

View File

@@ -1,7 +1,7 @@
package main
import (
_ "github.com/clipperhouse/slice"
_ "github.com/clipperhouse/linkedlist"
_ "github.com/clipperhouse/slice"
_ "github.com/clipperhouse/stringer"
)

View File

@@ -56,7 +56,7 @@ func (l *ByteIntervalList) Init() *ByteIntervalList {
return l
}
// New returns an initialized list.
// NewByteIntervalList returns an initialized list.
func NewByteIntervalList() *ByteIntervalList { return new(ByteIntervalList).Init() }
// Len returns the number of elements of list l.