From fd67d524c116e1d032b36802d0351fa06175c17c Mon Sep 17 00:00:00 2001 From: Mark McGranaghan Date: Sun, 23 Sep 2012 10:29:44 -0700 Subject: [PATCH] tweak --- 096-line-filter/line-filter.go | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/096-line-filter/line-filter.go b/096-line-filter/line-filter.go index 4616ccf..31d2970 100644 --- a/096-line-filter/line-filter.go +++ b/096-line-filter/line-filter.go @@ -36,12 +36,9 @@ func main() { panic(err) } - // `bytes.ToUpper` works directly on bytes, so we don't - // need to convert to a string for `strings.ToUpper`. - outBytes := bytes.ToUpper(inBytes) - // Write out the upercased bytes, checking for an error // here as well. + outBytes := bytes.ToUpper(inBytes) _, err = out.Write(outBytes) if err != nil { panic(err)