Skip to content

Commit f18544a

Browse files
authored
diff,misspell: fix typos in comments (#282)
1 parent e71c486 commit f18544a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

diff/diff.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ func Diff(oldName string, old []byte, newName string, new []byte) []byte {
7676

7777
// Expand matching lines as far possible,
7878
// establishing that x[start.x:end.x] == y[start.y:end.y].
79-
// Note that on the first (or last) iteration we may (or definitey do)
79+
// Note that on the first (or last) iteration we may (or definitely do)
8080
// have an empty match: start.x==end.x and start.y==end.y.
8181
start := m
8282
for start.x > done.x && start.y > done.y && x[start.x-1] == y[start.y-1] {

internal/misspell/misspell.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Package misspell impements utilities for basic spelling correction.
1+
// Package misspell implements utilities for basic spelling correction.
22
package misspell
33

44
import (

0 commit comments

Comments
 (0)