1
0
mirror of https://github.com/golang/go synced 2024-11-11 22:40:22 -07:00

rename variable at rsc's request

R=rsc
DELTA=4  (0 added, 0 deleted, 4 changed)
OCL=23896
CL=23928
This commit is contained in:
Rob Pike 2009-01-30 11:14:48 -08:00
parent 96777ea2a7
commit b59dbd7fe0
2 changed files with 4 additions and 4 deletions

View File

@ -12,8 +12,8 @@ type request struct {
type binOp (a, b int) int;
func run(op *binOp, req *request) {
result := op(req.a, req.b);
req.replyc <- result;
reply := op(req.a, req.b);
req.replyc <- reply;
}
func server(op *binOp, service chan *request) {

View File

@ -12,8 +12,8 @@ type request struct {
type binOp (a, b int) int;
func run(op *binOp, req *request) {
result := op(req.a, req.b);
req.replyc <- result;
reply := op(req.a, req.b);
req.replyc <- reply;
}
func server(op *binOp, service chan *request, quit chan bool) {