mirror of
https://github.com/golang/go
synced 2024-11-19 22:04:44 -07:00
net/http: fix typo in comment
LGTM=adg R=golang-codereviews, adg CC=golang-codereviews https://golang.org/cl/138960043
This commit is contained in:
parent
686ecd83c0
commit
310bc98083
@ -403,7 +403,7 @@ func serveFile(w ResponseWriter, r *Request, fs FileSystem, name string, redirec
|
||||
return
|
||||
}
|
||||
|
||||
// serverContent will check modification time
|
||||
// serveContent will check modification time
|
||||
sizeFunc := func() (int64, error) { return d.Size(), nil }
|
||||
serveContent(w, r, d.Name(), d.ModTime(), sizeFunc, f)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user