net/http: Fix comment around LocalAddrContextKey.

This commit is contained in:
Ryan Slade 2018-04-05 15:21:42 +02:00 committed by GitHub
parent fcfea24742
commit 6a6d949eb2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View 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"}
)