aboutsummaryrefslogtreecommitdiff
path: root/src/archive
diff options
context:
space:
mode:
authorAgniva De Sarker <agnivade@yahoo.co.in>2017-08-22 15:41:50 +0530
committerJoe Tsai <thebrokentoaster@gmail.com>2017-08-23 03:07:12 +0000
commitea5e3bd2a18fc26fa9028865c8f391b18ed24786 (patch)
tree5811c061ff099c5dae07ced0ad268747189e8698 /src/archive
parentf6944c780f5104114a7a5e404115478f8deb739b (diff)
downloadgo-ea5e3bd2a18fc26fa9028865c8f391b18ed24786.tar.xz
all: fix easy-to-miss typos
Using the wonderful https://github.com/client9/misspell tool. Change-Id: Icdbc75a5559854f4a7a61b5271bcc7e3f99a1a24 Reviewed-on: https://go-review.googlesource.com/57851 Reviewed-by: Joe Tsai <thebrokentoaster@gmail.com> Run-TryBot: Joe Tsai <thebrokentoaster@gmail.com> TryBot-Result: Gobot Gobot <gobot@golang.org>
Diffstat (limited to 'src/archive')
-rw-r--r--src/archive/tar/writer.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/archive/tar/writer.go b/src/archive/tar/writer.go
index 0d68d47129..c9237c8329 100644
--- a/src/archive/tar/writer.go
+++ b/src/archive/tar/writer.go
@@ -37,7 +37,7 @@ func NewWriter(w io.Writer) *Writer { return &Writer{w: w} }
// Flush finishes writing the current file's block padding.
// The current file must be fully written before Flush can be called.
//
-// Deprecated: This is unecessary as the next call to WriteHeader or Close
+// Deprecated: This is unnecessary as the next call to WriteHeader or Close
// will implicitly flush out the file's padding.
func (tw *Writer) Flush() error {
if tw.err != nil {