mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00: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
1 changed files with 1 additions and 1 deletions
|
|
@ -97,7 +97,7 @@
|
||||||
if err != nil {
|
if err != nil {
|
||||||
log.Fatal("arith error:", err)
|
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
|
or
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue