Skip to content

Commit

Permalink
small documentation and example fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Brian Picciano committed Oct 15, 2021
1 parent 80e06e5 commit 3e2d8e6
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ here.

* `resp.Unmarshaler` now takes a `resp.BufferedReader`, rather than
`*bufio.Reader`. Generally `resp.BufferedReader` will be implemented by a
`*bufio.Reader`, but this gives move flexibility.
`*bufio.Reader`, but this gives more flexibility.

* `Stub` and `PubSubStub` have been renamed to `NewStubConn` and
`NewPubSubStubConn`, respectively.
Expand Down
2 changes: 1 addition & 1 deletion doc.go
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@
// AUTH and other settings via Dialer
//
// Dialer has fields like AuthPass and SelectDB which can be used to configure
// Conns at upon creation.
// Conns at creation.
//
// PoolConfig takes a Dialer as one of its fields, so that all Conns the Pool
// creates will be created with those settings.
Expand Down
2 changes: 1 addition & 1 deletion scanner_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ func ExampleScanner_cluster() {
panic(err)
}

s := (ScannerConfig{Command: "HSCAN", Key: "somekey"}).NewMulti(cluster)
s := (ScannerConfig{Command: "SCAN"}).NewMulti(cluster)
var key string
for s.Next(ctx, &key) {
log.Printf("key: %q", key)
Expand Down

0 comments on commit 3e2d8e6

Please sign in to comment.