Merge pull request #447 from alanskind/master

fix typo
This commit is contained in:
Cassondra Foesch 2021-06-30 17:07:29 +00:00 committed by GitHub
commit ac2cd6e5ca
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -1548,7 +1548,7 @@ func (f *File) writeAtConcurrent(b []byte, off int64) (int, error) {
return len(b), nil
}
// WriteAt writess up to len(b) byte to the File at a given offset `off`. It returns
// WriteAt writes up to len(b) byte to the File at a given offset `off`. It returns
// the number of bytes written and an error, if any. WriteAt follows io.WriterAt semantics,
// so the file offset is not altered during the write.
func (f *File) WriteAt(b []byte, off int64) (written int, err error) {