Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading