From 8d4abd788c82227cd6706d9a5718129437b993da Mon Sep 17 00:00:00 2001 From: apocelipes Date: Tue, 16 Apr 2024 08:11:21 +0000 Subject: [PATCH] net/http: add comments that servemux121.go should remain frozen Change-Id: I6d1e02ffd07dbb722669abb2e72784dcb2bfffd0 GitHub-Last-Rev: 55a82f724a32237be059ae0696cf023db414f1d0 GitHub-Pull-Request: golang/go#66848 Reviewed-on: https://go-review.googlesource.com/c/go/+/579118 LUCI-TryBot-Result: Go LUCI Reviewed-by: Cherry Mui Auto-Submit: Cherry Mui Reviewed-by: Damien Neil --- src/net/http/servemux121.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/net/http/servemux121.go b/src/net/http/servemux121.go index c0a4b77010..923a28fb44 100644 --- a/src/net/http/servemux121.go +++ b/src/net/http/servemux121.go @@ -10,6 +10,10 @@ package http // Changes are minimal: aside from the different receiver type, // they mostly involve renaming functions, usually by unexporting them. +// servemux121.go exists solely to provide a snapshot of +// the pre-Go 1.22 ServeMux implementation for backwards compatibility. +// Do not modify this file, it should remain frozen. + import ( "internal/godebug" "net/url" -- 2.48.1