runtime: two implementations of hasprefix #25688
Closed
Comments
Change https://golang.org/cl/115835 mentions this issue: |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
runtime defines
hasprefix(string, string) bool
instring.go
andhasPrefix(string, string) bool
intype.go
. They have identical implementations.I do not know how they are used, but I imagine that either (a) one should be removed in favour of the other, or (b) document why both need to exist.
The text was updated successfully, but these errors were encountered: