Skip to content

Commit

Permalink
diff,misspell: fix typos in comments (#282)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexandear authored Dec 6, 2024
1 parent e71c486 commit f18544a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion diff/diff.go
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ func Diff(oldName string, old []byte, newName string, new []byte) []byte {

// Expand matching lines as far possible,
// establishing that x[start.x:end.x] == y[start.y:end.y].
// Note that on the first (or last) iteration we may (or definitey do)
// Note that on the first (or last) iteration we may (or definitely do)
// have an empty match: start.x==end.x and start.y==end.y.
start := m
for start.x > done.x && start.y > done.y && x[start.x-1] == y[start.y-1] {
Expand Down
2 changes: 1 addition & 1 deletion internal/misspell/misspell.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Package misspell impements utilities for basic spelling correction.
// Package misspell implements utilities for basic spelling correction.
package misspell

import (
Expand Down

0 comments on commit f18544a

Please sign in to comment.