From e3e31fa0b95aba363b13c45f562e3a4c8b31f2cc Mon Sep 17 00:00:00 2001 From: Richard Tweed Date: Wed, 9 Nov 2022 23:59:09 +0000 Subject: [PATCH] Address trailing space --- src/os/file.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/os/file.go b/src/os/file.go index 2ec6b22baa..57056df33e 100644 --- a/src/os/file.go +++ b/src/os/file.go @@ -730,7 +730,7 @@ func ReadFile(name string) ([]byte, error) { // WriteFile writes data to the named file, creating it if necessary. // If the file does not exist, WriteFile creates it with permissions perm (before umask); // otherwise WriteFile truncates it before writing, without changing permissions. -// Since Writefile requires multiple system calls to complete, a failure mid-operation +// Since Writefile requires multiple system calls to complete, a failure mid-operation // can leave the file in a partially written state. func WriteFile(name string, data []byte, perm FileMode) error { f, err := OpenFile(name, O_WRONLY|O_CREATE|O_TRUNC, perm)