aboutsummaryrefslogtreecommitdiff
path: root/src/strings/replace.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/strings/replace.go')
-rw-r--r--src/strings/replace.go2
1 files changed, 1 insertions, 1 deletions
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.