Skip to content

Commit e3e31fa

Browse files
committed
Address trailing space
1 parent 20d229f commit e3e31fa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/os/file.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -730,7 +730,7 @@ func ReadFile(name string) ([]byte, error) {
730730
// WriteFile writes data to the named file, creating it if necessary.
731731
// If the file does not exist, WriteFile creates it with permissions perm (before umask);
732732
// otherwise WriteFile truncates it before writing, without changing permissions.
733-
// Since Writefile requires multiple system calls to complete, a failure mid-operation
733+
// Since Writefile requires multiple system calls to complete, a failure mid-operation
734734
// can leave the file in a partially written state.
735735
func WriteFile(name string, data []byte, perm FileMode) error {
736736
f, err := OpenFile(name, O_WRONLY|O_CREATE|O_TRUNC, perm)

0 commit comments

Comments
 (0)