Skip to content

Commit

Permalink
chore: fix typo in comments (#375)
Browse files Browse the repository at this point in the history
  • Loading branch information
JovialYip authored Dec 15, 2024
1 parent 94822d2 commit d423b42
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions connection_impl.go
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,7 @@ var barrierPool = sync.Pool{
},
}

// init initialize the connection with options
// init initializes the connection with options
func (c *connection) init(conn Conn, opts *options) (err error) {
// init buffer, barrier, finalizer
c.readTrigger = make(chan error, 1)
Expand Down Expand Up @@ -478,7 +478,7 @@ RET:
return err
}

// flush write data directly.
// flush writes data directly.
func (c *connection) flush() error {
if c.outputBuffer.IsEmpty() {
return nil
Expand Down

0 comments on commit d423b42

Please sign in to comment.