]> Cypherpunks repositories - gostls13.git/commitdiff
mime: add available godoc link
authorpgxiaolianzi <gnnu_d13@163.com>
Fri, 2 Aug 2024 14:50:23 +0000 (14:50 +0000)
committerGopher Robot <gobot@golang.org>
Sat, 3 Aug 2024 01:05:26 +0000 (01:05 +0000)
Change-Id: Ic5454758c87e9f84a829aed8a72b5ad977878585
GitHub-Last-Rev: 2eb8ced71286a3bc3b53b35c809164b07ef28a16
GitHub-Pull-Request: golang/go#68605
Reviewed-on: https://go-review.googlesource.com/c/go/+/601295
Auto-Submit: Ian Lance Taylor <iant@google.com>
Reviewed-by: Michael Knyszek <mknyszek@google.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>

src/mime/encodedword.go

index 856433f8f3b3937be980ddb1023fe66ed7ab2a97..c4afad043a290837ef51e5d177e96e7b843e071a 100644 (file)
@@ -226,7 +226,7 @@ func (d *WordDecoder) Decode(word string) (string, error) {
 }
 
 // DecodeHeader decodes all encoded-words of the given string. It returns an
-// error if and only if WordDecoder.CharsetReader of d returns an error.
+// error if and only if [WordDecoder.CharsetReader] of d returns an error.
 func (d *WordDecoder) DecodeHeader(header string) (string, error) {
        // If there is no encoded-word, returns before creating a buffer.
        i := strings.Index(header, "=?")