From f488e191e67ed95a5b9b7b39024e5a5f5f1ffd02 Mon Sep 17 00:00:00 2001 From: cui fliter Date: Sat, 26 Aug 2023 23:26:54 +0800 Subject: [PATCH] unicode/norm: fix function name on comment Change-Id: I1d7daf1101c289f99367db2b23105e99d7e19b65 Reviewed-on: https://go-review.googlesource.com/c/text/+/523255 Run-TryBot: shuang cui Reviewed-by: Ian Lance Taylor Run-TryBot: Ian Lance Taylor Reviewed-by: Joedian Reid TryBot-Result: Gopher Robot Auto-Submit: Ian Lance Taylor --- unicode/norm/trie.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/unicode/norm/trie.go b/unicode/norm/trie.go index 423386bf4..e4250ae22 100644 --- a/unicode/norm/trie.go +++ b/unicode/norm/trie.go @@ -29,7 +29,7 @@ var ( nfkcData = newNfkcTrie(0) ) -// lookupValue determines the type of block n and looks up the value for b. +// lookup determines the type of block n and looks up the value for b. // For n < t.cutoff, the block is a simple lookup table. Otherwise, the block // is a list of ranges with an accompanying value. Given a matching range r, // the value for b is by r.value + (b - r.lo) * stride.