Fix misspelled "across"

This commit is contained in:
Nicolas Kaiser 2012-11-24 11:07:06 +01:00
parent b8840aa19d
commit 15995bda0b

View File

@ -18,7 +18,7 @@ type ByLength []string
// We implement `sort.Interface` - `Len`, `Less`, and // We implement `sort.Interface` - `Len`, `Less`, and
// `Swap` - on our type so we can use the `sort` package's // `Swap` - on our type so we can use the `sort` package's
// generic `Sort` function. `Len` and `Swap` // generic `Sort` function. `Len` and `Swap`
// will usually be similar accross types and `Less` will // will usually be similar across types and `Less` will
// hold the actual custom sorting logic. In our case we // hold the actual custom sorting logic. In our case we
// want to sort in order of increasing string length, so // want to sort in order of increasing string length, so
// we use `len(s[i])` and `len(s[j])` here. // we use `len(s[i])` and `len(s[j])` here.