소스 검색

Merge pull request #4042 from jonboulle/master

pkg: fix tiny docstring typo in ioutil
Jonathan Boulle 10 년 전
부모
커밋
b79dae287d
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 {