]> Cypherpunks repositories - gostls13.git/commitdiff
net/http: fix missing word in ServeMux doc
authorOleksii Sholik <alcosholik@gmail.com>
Sat, 14 Jan 2023 22:03:38 +0000 (22:03 +0000)
committerGopher Robot <gobot@golang.org>
Fri, 27 Jan 2023 00:42:16 +0000 (00:42 +0000)
Change-Id: I324cedfcdfa1d7eac7be43dc89febb584359c8e3
GitHub-Last-Rev: 7724cd84f323b531215db0406f72481394d0b206
GitHub-Pull-Request: golang/go#57799
Reviewed-on: https://go-review.googlesource.com/c/go/+/462039
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Matthew Dempsky <mdempsky@google.com>
Reviewed-by: Damien Neil <dneil@google.com>
Auto-Submit: Damien Neil <dneil@google.com>
Run-TryBot: Damien Neil <dneil@google.com>

src/net/http/server.go

index a9ba911aa3984852f309177557b9ca118a8f6485..c15f0f58cb76cf27aa46cd70250ab0ca2656b026 100644 (file)
@@ -2278,7 +2278,7 @@ func RedirectHandler(url string, code int) Handler {
 // Longer patterns take precedence over shorter ones, so that
 // if there are handlers registered for both "/images/"
 // and "/images/thumbnails/", the latter handler will be
-// called for paths beginning "/images/thumbnails/" and the
+// called for paths beginning with "/images/thumbnails/" and the
 // former will receive requests for any other paths in the
 // "/images/" subtree.
 //