mirror of
https://github.com/golang/go
synced 2024-11-22 07:34:40 -07:00
nacl: update documentation to match current coding style
R=rsc, r CC=golang-dev https://golang.org/cl/822047
This commit is contained in:
parent
3fbe7f4f41
commit
98a5a20c5e
@ -199,9 +199,9 @@ func (r *RPC) Start(name string, arg []interface{}) {
|
|||||||
// waits for it to finish, and then returns the results.
|
// waits for it to finish, and then returns the results.
|
||||||
// Its implementation is:
|
// Its implementation is:
|
||||||
//
|
//
|
||||||
// r.Start(name, arg);
|
// r.Start(name, arg)
|
||||||
// <-r.Done;
|
// <-r.Done
|
||||||
// return r.Ret, r.Errno;
|
// return r.Ret, r.Errno
|
||||||
//
|
//
|
||||||
func (r *RPC) Call(name string, arg []interface{}) (ret []interface{}, err Errno) {
|
func (r *RPC) Call(name string, arg []interface{}) (ret []interface{}, err Errno) {
|
||||||
r.Start(name, arg)
|
r.Start(name, arg)
|
||||||
|
Loading…
Reference in New Issue
Block a user