From 8fb8d0df90b3f692857f14233353c23fac396f82 Mon Sep 17 00:00:00 2001 From: Jes Cok Date: Wed, 1 Nov 2023 12:09:18 +0000 Subject: [PATCH] internal/diff: add missing 'as' in comment Change-Id: I40b9bc55744f6db5332d49dd47c8a4e409ecd9f3 GitHub-Last-Rev: c58c8ecde83c0eae88742a6785819e6cdc0dce21 GitHub-Pull-Request: golang/go#63870 Reviewed-on: https://go-review.googlesource.com/c/go/+/538862 TryBot-Result: Gopher Robot Auto-Submit: Keith Randall Reviewed-by: Keith Randall Run-TryBot: qiulaidongfeng <2645477756@qq.com> Reviewed-by: Keith Randall Reviewed-by: qiulaidongfeng <2645477756@qq.com> Reviewed-by: Bryan Mills --- src/internal/diff/diff.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/internal/diff/diff.go b/src/internal/diff/diff.go index 0aeeb75eb0..6a40b23fcb 100644 --- a/src/internal/diff/diff.go +++ b/src/internal/diff/diff.go @@ -74,7 +74,7 @@ func Diff(oldName string, old []byte, newName string, new []byte) []byte { continue } - // Expand matching lines as far possible, + // Expand matching lines as far as possible, // establishing that x[start.x:end.x] == y[start.y:end.y]. // 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. -- 2.50.0