Commit 94935cb5 authored by Evan Shaw's avatar Evan Shaw Committed by Rob Pike

strings: Replacer is safe for concurrent use

LGTM=r
R=golang-codereviews, bradfitz, r
CC=golang-codereviews
https://golang.org/cl/109220044
parent 873ceeff
......@@ -6,7 +6,8 @@ package strings
import "io"
// A Replacer replaces a list of strings with replacements.
// Replacer replaces a list of strings with replacements.
// It is safe for concurrent use by multiple goroutines.
type Replacer struct {
r replacer
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment