]> Cypherpunks repositories - gostls13.git/commitdiff
net/http: fix comment on LocalAddrContextKey
authorRyan Slade <ryanslade@gmail.com>
Thu, 5 Apr 2018 13:27:44 +0000 (13:27 +0000)
committerDaniel Martí <mvdan@mvdan.cc>
Sun, 8 Apr 2018 13:55:30 +0000 (13:55 +0000)
Change-Id: Ibb793158a190758cebc00b58c12e3b8b106c0548
GitHub-Last-Rev: 6a6d949eb252ec6d3e76920fc2f50ef5ac3cdb5a
GitHub-Pull-Request: golang/go#24702
Reviewed-on: https://go-review.googlesource.com/104896
Reviewed-by: Daniel Martí <mvdan@mvdan.cc>
Run-TryBot: Daniel Martí <mvdan@mvdan.cc>
TryBot-Result: Gobot Gobot <gobot@golang.org>

src/net/http/server.go

index 084af32a6bc96bfbc78fd12a4ce9b4f6f270ad1c..ad3222d3a1b61e9a047187844874327cb3317167 100644 (file)
@@ -227,8 +227,8 @@ var (
        ServerContextKey = &contextKey{"http-server"}
 
        // LocalAddrContextKey is a context key. It can be used in
-       // HTTP handlers with context.WithValue to access the address
-       // the local address the connection arrived on.
+       // HTTP handlers with context.WithValue to access the local
+       // address the connection arrived on.
        // The associated value will be of type net.Addr.
        LocalAddrContextKey = &contextKey{"local-addr"}
 )