From 310bc98083c57b87df6e8020bfd97e35a8127bf1 Mon Sep 17 00:00:00 2001 From: Dmitri Shuralyov Date: Mon, 1 Sep 2014 12:03:23 +1000 Subject: [PATCH] net/http: fix typo in comment LGTM=adg R=golang-codereviews, adg CC=golang-codereviews https://golang.org/cl/138960043 --- src/pkg/net/http/fs.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pkg/net/http/fs.go b/src/pkg/net/http/fs.go index 146b0026b9..bae902cd29 100644 --- a/src/pkg/net/http/fs.go +++ b/src/pkg/net/http/fs.go @@ -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) } -- 2.48.1