Skip to content

Commit 9dfff5d

Browse files
methaneshogo82148
andauthored
Apply suggestions from code review
Co-authored-by: ICHINOSE Shogo <[email protected]>
1 parent 0a225ca commit 9dfff5d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

buffer.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ func newBuffer(nc net.Conn) buffer {
4343
}
4444
}
4545

46-
// busy retruns true if the buffer contains some read data.
46+
// busy returns true if the buffer contains some read data.
4747
func (b *buffer) busy() bool {
4848
return b.length > 0
4949
}

connection.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ func (mc *mysqlConn) Close() (err error) {
125125
return
126126
}
127127

128-
// close closes the network connection and cleare results without sending COM_QUIT.
128+
// close closes the network connection and clear results without sending COM_QUIT.
129129
func (mc *mysqlConn) close() {
130130
mc.cleanup()
131131
mc.clearResult()

0 commit comments

Comments
 (0)