Skip to content

Commit 72d04f9

Browse files
authored
Merge pull request #78 from elimisteve/patch-2
http.go: Added missing word from NewHTTPPool docs
2 parents 6159c0a + 361310c commit 72d04f9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

http.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ type HTTPPoolOptions struct {
7474

7575
// NewHTTPPool initializes an HTTP pool of peers, and registers itself as a PeerPicker.
7676
// For convenience, it also registers itself as an http.Handler with http.DefaultServeMux.
77-
// The self argument be a valid base URL that points to the current server,
77+
// The self argument should be a valid base URL that points to the current server,
7878
// for example "http://example.net:8000".
7979
func NewHTTPPool(self string) *HTTPPool {
8080
p := NewHTTPPoolOpts(self, nil)

0 commit comments

Comments
 (0)