From 50efd01e34cad50676f7f702eed1b27638ec1c3c Mon Sep 17 00:00:00 2001 From: Jonathan Boulle Date: Tue, 22 Dec 2015 16:37:22 +0100 Subject: [PATCH] pkg: fix tiny docstring typo in ioutil --- pkg/ioutil/util.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/ioutil/util.go b/pkg/ioutil/util.go index d7ed18b45..9acc79830 100644 --- a/pkg/ioutil/util.go +++ b/pkg/ioutil/util.go @@ -19,7 +19,7 @@ import ( "os" ) -// WriteAndSyncFile behaviors just like ioutil.WriteFile in standard library +// WriteAndSyncFile behaves just like ioutil.WriteFile in the standard library, // but calls Sync before closing the file. WriteAndSyncFile guarantees the data // is synced if there is no error returned. func WriteAndSyncFile(filename string, data []byte, perm os.FileMode) error {