summaryrefslogtreecommitdiff
path: root/src/pkg/archive/tar/writer.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/pkg/archive/tar/writer.go')
-rw-r--r--src/pkg/archive/tar/writer.go4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/pkg/archive/tar/writer.go b/src/pkg/archive/tar/writer.go
index 68ec2afe9..a3c03cef1 100644
--- a/src/pkg/archive/tar/writer.go
+++ b/src/pkg/archive/tar/writer.go
@@ -45,9 +45,7 @@ type Writer struct {
}
// NewWriter creates a new Writer writing to w.
-func NewWriter(w io.Writer) *Writer {
- return &Writer{w: w};
-}
+func NewWriter(w io.Writer) *Writer { return &Writer{w: w} }
// Flush finishes writing the current file (optional).
func (tw *Writer) Flush() os.Error {