net/url: use strings.Index instead of a loop
We already depend on strings in this file, so use it. Plus strings.Index will be faster than a manual loop once issue 3751 is finished. R=golang-dev, khr CC=golang-dev https://golang.org/cl/8116043
Showing
Please register or sign in to comment