Explorar el Código

pkg: fix tiny docstring typo in ioutil

Jonathan Boulle hace 10 años
padre
commit
50efd01e34
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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 {