Skip to content

Commit

Permalink
Fix typing errors
Browse files Browse the repository at this point in the history
Signed-off-by: Dzmitry Mikhalapau <[email protected]>
  • Loading branch information
homier committed Nov 28, 2024
1 parent c67d45b commit 376c32a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rpc/rpc.go
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ type Conn struct {
baseContext func() context.Context

// bgctx is a Context that is canceled when shutdown starts. Note
// that if baseContext is not provided. it's parent is context.Background(),
// that if baseContext is not provided, it's parent is context.Background(),
// so we can rely on this being the *only* time it will be canceled.
bgctx context.Context

Expand Down Expand Up @@ -204,7 +204,7 @@ type Options struct {
// set this.
Network Network

// BaseContext is an optional funcation that returns a base context
// BaseContext is an optional function that returns a base context
// for any incoming connection. If ommitted, the context.Background()
// will be used instead.
BaseContext func() context.Context
Expand Down

0 comments on commit 376c32a

Please sign in to comment.