summaryrefslogtreecommitdiff
path: root/src/pkg/io/pipe.go
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2009-10-08 15:14:54 -0700
committerRuss Cox <rsc@golang.org>2009-10-08 15:14:54 -0700
commit79244ca7360f32db37710ab74c72214146397edf (patch)
tree0f7c5551b95f4e5dd567a4ac3233afeb0da61e99 /src/pkg/io/pipe.go
parent71b9ef8c235f052495a1fb29bd3945f7094998a9 (diff)
downloadgolang-79244ca7360f32db37710ab74c72214146397edf.tar.gz
more lgtm files from gofmt
R=gri OCL=35485 CL=35488
Diffstat (limited to 'src/pkg/io/pipe.go')
-rw-r--r--src/pkg/io/pipe.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pkg/io/pipe.go b/src/pkg/io/pipe.go
index 5cb60bd85..ff52988b2 100644
--- a/src/pkg/io/pipe.go
+++ b/src/pkg/io/pipe.go
@@ -54,7 +54,7 @@ func (p *pipe) Read(data []byte) (n int, err os.Error) {
data[i] = p.wpend[i];
}
p.wtot += n;
- p.wpend = p.wpend[n : len(p.wpend)];
+ p.wpend = p.wpend[n:len(p.wpend)];
// If write block is done, finish the write.
if len(p.wpend) == 0 {