From 04a2a257aa6fc8e8bee48a527990a1064673251e Mon Sep 17 00:00:00 2001 From: Oleksandr Redko Date: Mon, 2 Dec 2024 18:32:45 +0200 Subject: [PATCH] diff,misspell: fix typos in comments --- diff/diff.go | 2 +- internal/misspell/misspell.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/diff/diff.go b/diff/diff.go index 47b28567..0aeeb75e 100644 --- a/diff/diff.go +++ b/diff/diff.go @@ -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] { diff --git a/internal/misspell/misspell.go b/internal/misspell/misspell.go index 6e1ae95e..59a4ce42 100644 --- a/internal/misspell/misspell.go +++ b/internal/misspell/misspell.go @@ -1,4 +1,4 @@ -// Package misspell impements utilities for basic spelling correction. +// Package misspell implements utilities for basic spelling correction. package misspell import (