mirror of
https://github.com/golang/go
synced 2024-11-25 05:57:57 -07:00
rpc: fix typo in documentation client example
The example incorrectly dereferenced an integer variable R=golang-dev, adg CC=golang-dev https://golang.org/cl/5129041
This commit is contained in:
parent
8a06936ea1
commit
d53afb8d83
@ -97,7 +97,7 @@
|
||||
if err != nil {
|
||||
log.Fatal("arith error:", err)
|
||||
}
|
||||
fmt.Printf("Arith: %d*%d=%d", args.A, args.B, *reply)
|
||||
fmt.Printf("Arith: %d*%d=%d", args.A, args.B, reply)
|
||||
|
||||
or
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user