1
0
mirror of https://github.com/Mrs4s/MiraiGo.git synced 2025-05-04 11:07:40 +08:00

style: fix typo (#183)

This commit is contained in:
Ink33 2021-09-28 22:30:29 +08:00 committed by GitHub
parent 0238b2382b
commit dff336b05a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -26,7 +26,7 @@ func (t *TCPListener) PlannedDisconnect(f func(*TCPListener)) {
t.plannedDisconnect = f
}
// UnexpectedDisconnect 未预料的断开连接
// UnexpectedDisconnect 未预料的断开连接
func (t *TCPListener) UnexpectedDisconnect(f func(*TCPListener, error)) {
t.lock.Lock()
defer t.lock.Unlock()