瀏覽代碼

pkg: fix tiny docstring typo in ioutil

Jonathan Boulle 10 年之前
父節點
當前提交
50efd01e34
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      pkg/ioutil/util.go

+ 1 - 1
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 {