From 6dd7462a04e2ce0a3e91cdb8fd85e98ac62ba0aa Mon Sep 17 00:00:00 2001 From: cui fliter Date: Thu, 12 Oct 2023 11:49:26 +0800 Subject: bytes,strings: add available godoc link Change-Id: Id9706a783d3321e3706eeee102286522e7968efd Reviewed-on: https://go-review.googlesource.com/c/go/+/534775 Reviewed-by: Ian Lance Taylor LUCI-TryBot-Result: Go LUCI Reviewed-by: Dmitri Shuralyov Auto-Submit: Ian Lance Taylor --- src/strings/replace.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/strings/replace.go') diff --git a/src/strings/replace.go b/src/strings/replace.go index f504fb48df..3b17a55b91 100644 --- a/src/strings/replace.go +++ b/src/strings/replace.go @@ -23,7 +23,7 @@ type replacer interface { WriteString(w io.Writer, s string) (n int, err error) } -// NewReplacer returns a new Replacer from a list of old, new string +// NewReplacer returns a new [Replacer] from a list of old, new string // pairs. Replacements are performed in the order they appear in the // target string, without overlapping matches. The old string // comparisons are done in argument order. -- cgit v1.3