commit | eb7d56965b0373f52eb0f4ac42f2973a329dc5a4 | [log] [tgz] |
---|---|---|
author | Nigel Tao <nigeltao@golang.org> | Mon Oct 22 16:26:47 2012 +1100 |
committer | Nigel Tao <nigeltao@golang.org> | Mon Oct 22 16:26:47 2012 +1100 |
tree | 71e779d650a90fb0d3a1524ba4c2c2c5bc9794f7 | |
parent | 2e67dd861d339ea2b8e59ebc479f37cc1840814a [diff] [blame] |
os: fix documentation typos: s/an array/a slice/. R=dsymonds CC=golang-dev https://golang.org/cl/6736057
diff --git a/src/pkg/os/file.go b/src/pkg/os/file.go index 4acf35d..5b1658a 100644 --- a/src/pkg/os/file.go +++ b/src/pkg/os/file.go
@@ -185,7 +185,7 @@ } // WriteString is like Write, but writes the contents of string s rather than -// an array of bytes. +// a slice of bytes. func (f *File) WriteString(s string) (ret int, err error) { if f == nil { return 0, ErrInvalid