mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
- replaced gofmt expression formatting algorithm with
rsc's algorithm - applied gofmt -w misc src - partial CL (last chunk) R=rsc, r http://go/go-review/1024041
This commit is contained in:
parent
baba292998
commit
3bb0032cd6
121 changed files with 750 additions and 750 deletions
|
|
@ -966,7 +966,7 @@ type Point struct {
|
|||
x, y int;
|
||||
}
|
||||
|
||||
func (p Point) Dist(scale int) int { return p.x * p.x * scale + p.y * p.y * scale }
|
||||
func (p Point) Dist(scale int) int { return p.x*p.x*scale + p.y*p.y*scale }
|
||||
|
||||
func TestMethod(t *testing.T) {
|
||||
// Non-curried method of type.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue