remove slicing operator

This commit is contained in:
Mateusz Poliwczak 2023-03-29 19:00:03 +02:00
parent 9dcc1bf1d8
commit 361d68dc9b
1 changed files with 1 additions and 1 deletions

View File

@ -245,7 +245,7 @@ func (oi ObjectIdentifier) String() string {
if i > 0 {
s.WriteByte('.')
}
s.Write(strconv.AppendInt(buf[:0], int64(v), 10))
s.Write(strconv.AppendInt(buf, int64(v), 10))
}
return s.String()