Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(156)

Unified Diff: src/net/rpc/jsonrpc/client.go

Issue 179050043: code review 179050043: Clarify Dial docstrings.
Patch Set: diff -r 3916b070c5f35fbff5321e9842e2dd38002b6637 https://code.google.com/p/go/ Created 10 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/net/rpc/client.go ('k') | src/net/smtp/auth.go » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/net/rpc/jsonrpc/client.go
===================================================================
--- a/src/net/rpc/jsonrpc/client.go
+++ b/src/net/rpc/jsonrpc/client.go
@@ -114,6 +114,8 @@
}
// Dial connects to a JSON-RPC server at the specified network address.
+// The address must include a port number, its formatting is further described
+// in net.Dial.
func Dial(network, address string) (*rpc.Client, error) {
conn, err := net.Dial(network, address)
if err != nil {
« no previous file with comments | « src/net/rpc/client.go ('k') | src/net/smtp/auth.go » ('j') | no next file with comments »

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b