From 3834e2fe488889052e2286b17d2c9bf617f0522b Mon Sep 17 00:00:00 2001 From: Jim Teeuwen Date: Fri, 7 Mar 2014 22:13:34 +0100 Subject: [PATCH] Fixes some code comments. --- debug.go | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/debug.go b/debug.go index d53e1a4..92309b6 100644 --- a/debug.go +++ b/debug.go @@ -34,8 +34,7 @@ func writeDebugHeader(w io.Writer) error { "io/ioutil" ) -// bindata_read reads the given file from disk. It returns -// an error on failure. +// bindata_read reads the given file from disk. It returns an error on failure. func bindata_read(path, name string) ([]byte, error) { buf, err := ioutil.ReadFile(path) if err != nil { @@ -53,8 +52,7 @@ func bindata_read(path, name string) ([]byte, error) { // the original file (e.g.: from disk). func writeDebugAsset(w io.Writer, asset *Asset) error { _, err := fmt.Fprintf(w, ` -// %s reads file data from disk. -// It panics if something went wrong in the process. +// %s reads file data from disk. It returns an error on failure. func %s() ([]byte, error) { return bindata_read( %q,