From 8818b4d27e3a076ae779051cce4d5831581269a6 Mon Sep 17 00:00:00 2001 From: Ryan Slade Date: Thu, 5 Apr 2018 13:27:44 +0000 Subject: [PATCH] net/http: fix comment on LocalAddrContextKey MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 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í Run-TryBot: Daniel Martí TryBot-Result: Gobot Gobot --- src/net/http/server.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/net/http/server.go b/src/net/http/server.go index 084af32a6b..ad3222d3a1 100644 --- a/src/net/http/server.go +++ b/src/net/http/server.go @@ -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"} ) -- 2.50.0