We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7986e26 commit f27a57fCopy full SHA for f27a57f
src/net/http/server.go
@@ -2379,7 +2379,7 @@ func RedirectHandler(url string, code int) Handler {
2379
// There is one exception to this rule, for backwards compatibility:
2380
// if two patterns would otherwise conflict and one has a host while the other does not,
2381
// then the pattern with the host takes precedence.
2382
-// If a pattern passed [ServeMux.Handle] or [ServeMux.HandleFunc] conflicts with
+// If a pattern passed to [ServeMux.Handle] or [ServeMux.HandleFunc] conflicts with
2383
// another pattern that is already registered, those functions panic.
2384
//
2385
// As an example of the general rule, "/images/thumbnails/" is more specific than "/images/",
0 commit comments