From 0f6547d06ac578a6ae8495c9e7b53b01c90caf98 Mon Sep 17 00:00:00 2001 From: Stefan VanBuren Date: Thu, 8 Jan 2026 08:54:43 -0500 Subject: [PATCH] Fix doc comment link Also, drop the "." in one instance listing options, for consistency with the other comments. --- textdiff/textdiff.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/textdiff/textdiff.go b/textdiff/textdiff.go index e78f75f..29e25c4 100644 --- a/textdiff/textdiff.go +++ b/textdiff/textdiff.go @@ -65,7 +65,7 @@ type Hunk[T string | []byte] struct { // If x and y are identical, the output has length zero. // // The following options are supported: [diff.Context], [diff.Minimal], [diff.Fast], -// [textdiff.IndentHeuristic] +// [IndentHeuristic] // // Important: The output is not guaranteed to be stable and may change with minor version upgrades. // DO NOT rely on the output being stable. @@ -228,7 +228,7 @@ const missingNewline = "\n\\ No newline at end of file\n" // the other in unified format. // // The following options are supported: [diff.Context], [diff.Minimal], [diff.Fast], -// [IndentHeuristic], [TerminalColors]. +// [IndentHeuristic], [TerminalColors] // // Important: The output is not guaranteed to be stable and may change with minor version upgrades. // DO NOT rely on the output being stable.