Skip to content

Commit 15995bd

Browse files
committed
Fix misspelled "across"
1 parent b8840aa commit 15995bd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/sorting-by-functions/sorting-by-functions.go

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

0 commit comments

Comments
 (0)