chore(lint): 改进代码样式 (#1116)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
This commit is contained in:
github-actions[bot] 2025-02-14 21:43:06 +09:00 committed by GitHub
parent b9cf52404d
commit 41f02f34c2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -35,7 +35,7 @@ func (l *list) add(grp int64, txt string) {
l.m[grp] = msgs
return
}
copy(msgs[:], msgs[1:])
copy(msgs, msgs[1:])
msgs[len(msgs)-1] = txt
l.m[grp] = msgs
}