aboutsummaryrefslogtreecommitdiff
path: root/internal/norm
diff options
context:
space:
mode:
Diffstat (limited to 'internal/norm')
-rw-r--r--internal/norm/norm.go4
-rw-r--r--internal/norm/norm_test.go4
2 files changed, 4 insertions, 4 deletions
diff --git a/internal/norm/norm.go b/internal/norm/norm.go
index 1c2f61d..9a22e62 100644
--- a/internal/norm/norm.go
+++ b/internal/norm/norm.go
@@ -20,7 +20,7 @@ const Version = 1
// Fingerprint names everything Text and Name's output depends on: Version,
// and the Unicode tables of the standard library and of x/text's
-// normalisation, which a Go or x/text upgrade can change (review cache F4).
+// normalisation, which a Go or x/text upgrade can change.
func Fingerprint() string {
return fmt.Sprintf("norm%d unicode%s nfd%s", Version, unicode.Version, unorm.Version)
}
@@ -125,7 +125,7 @@ func FoldMapped(s string) Folded {
// Source returns the original text that Text[a:b] was folded from, widened
// to whole characters and to the characters right after them that fold to
// nothing - the combining marks of a decomposed name, which belong to the
-// letter before them (plan 11 review L5); without a map, Text[a:b] itself.
+// letter before them; without a map, Text[a:b] itself.
func (f Folded) Source(a, b int) string {
switch {
case f.same || f.start == nil:
diff --git a/internal/norm/norm_test.go b/internal/norm/norm_test.go
index dfae915..9d4e214 100644
--- a/internal/norm/norm_test.go
+++ b/internal/norm/norm_test.go
@@ -76,8 +76,8 @@ func TestFoldASCIINoAlloc(t *testing.T) {
// TestFoldMappedSource: a part of the folded text leads back to the original
// characters it came from, widened to whole characters and to the combining
-// marks that follow them (a decomposed name, plan 11 review L5) - so a
-// capture can be written with its diacritics.
+// marks that follow them (a decomposed name) - so a capture can be written
+// with its diacritics.
func TestFoldMappedSource(t *testing.T) {
cases := []struct {
in, folded string