Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(586)

Unified Diff: src/pkg/archive/tar/common.go

Issue 156115: code review 156115: gofmt -r 'α[β:len(α)] -> α[β:]' -w src/cmd src/pkg (Closed)
Patch Set: code review 156115: gofmt -r 'α[β:len(α)] -> α[β:]' -w src/cmd src/pkg Created 15 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/cmd/goyacc/goyacc.go ('k') | src/pkg/archive/tar/reader.go » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/pkg/archive/tar/common.go
===================================================================
--- a/src/pkg/archive/tar/common.go
+++ b/src/pkg/archive/tar/common.go
@@ -70,6 +70,6 @@
func (sp *slicer) next(n int) (b []byte) {
s := *sp;
- b, *sp = s[0:n], s[n:len(s)];
+ b, *sp = s[0:n], s[n:];
return;
}
« no previous file with comments | « src/cmd/goyacc/goyacc.go ('k') | src/pkg/archive/tar/reader.go » ('j') | no next file with comments »

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b