Ignore lint error for mapIter

This commit is contained in:
Masaaki Goshima 2021-12-27 11:33:17 +09:00
parent d8aa8348f4
commit 657973a17e
No known key found for this signature in database
GPG Key ID: 6A53785055537153
1 changed files with 1 additions and 0 deletions

View File

@ -222,6 +222,7 @@ func (m *Mapslice) Swap(i, j int) {
m.Items[i], m.Items[j] = m.Items[j], m.Items[i]
}
//nolint:structcheck,unused
type mapIter struct {
key unsafe.Pointer
elem unsafe.Pointer