diff options
Diffstat (limited to 'src/pkg/http/triv.go')
| -rw-r--r-- | src/pkg/http/triv.go | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/pkg/http/triv.go b/src/pkg/http/triv.go index 172806ee5..f9c6b64ab 100644 --- a/src/pkg/http/triv.go +++ b/src/pkg/http/triv.go @@ -33,9 +33,7 @@ type Counter struct { // This makes Counter satisfy the expvar.Var interface, so we can export // it directly. -func (ctr *Counter) String() string { - return fmt.Sprintf("%d", ctr.n); -} +func (ctr *Counter) String() string { return fmt.Sprintf("%d", ctr.n) } func (ctr *Counter) ServeHTTP(c *http.Conn, req *http.Request) { switch req.Method { |
