]> Cypherpunks repositories - gostls13.git/commitdiff
needless semicolons
authorRob Pike <r@golang.org>
Fri, 30 Jan 2009 23:10:22 +0000 (15:10 -0800)
committerRob Pike <r@golang.org>
Fri, 30 Jan 2009 23:10:22 +0000 (15:10 -0800)
R=rsc
DELTA=2  (0 added, 0 deleted, 2 changed)
OCL=23967
CL=23970

doc/progs/server.go
doc/progs/server1.go

index 45924531617e104e27654aeaedd845c622c443f1..a5317f27f81afde9413cb05b129265b312cd5c9b 100644 (file)
@@ -9,7 +9,7 @@ type request struct {
        replyc  chan int;
 }
 
-type binOp func(a, b int) int;
+type binOp func(a, b int) int
 
 func run(op binOp, req *request) {
        reply := op(req.a, req.b);
index 6a1b6f1561909a4c4c47cdc9cf94860cddcf117e..46d7b4ccf740995bb6976ee4f63ddbe0e6f8b878 100644 (file)
@@ -9,7 +9,7 @@ type request struct {
        replyc  chan int;
 }
 
-type binOp func(a, b int) int;
+type binOp func(a, b int) int
 
 func run(op binOp, req *request) {
        reply := op(req.a, req.b);