From 3206e141fbc8c4b92e4cabf546baafe0b6f29e54 Mon Sep 17 00:00:00 2001 From: Damien Neil Date: Tue, 24 Mar 2026 13:31:16 -0700 Subject: [release-branch.go1.26] net/url: reattach package doc comment Fixes #78330 For #78326 Change-Id: I70a411c33820f6498bec5f4e4a4ec7666a6a6964 Reviewed-on: https://go-review.googlesource.com/c/go/+/758880 Auto-Submit: Nicholas Husin Reviewed-by: Nicholas Husin LUCI-TryBot-Result: Go LUCI Reviewed-by: Nicholas Husin (cherry picked from commit fb592a174727bd693f0e27d130aa60362ed5c6f0) Reviewed-on: https://go-review.googlesource.com/c/go/+/758921 Auto-Submit: Dmitri Shuralyov --- src/net/url/url.go | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/net/url/url.go b/src/net/url/url.go index 36d1820084..3e612c5261 100644 --- a/src/net/url/url.go +++ b/src/net/url/url.go @@ -2,14 +2,13 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +//go:generate go run gen_encoding_table.go + // Package url parses URLs and implements query escaping. // // See RFC 3986. This package generally follows RFC 3986, except where // it deviates for compatibility reasons. // RFC 6874 followed for IPv6 zone literals. - -//go:generate go run gen_encoding_table.go - package url // When sending changes, first search old issues for history on decisions. -- cgit v1.3