mirror of https://github.com/golang/go.git
remove slicing operator
This commit is contained in:
parent
9dcc1bf1d8
commit
361d68dc9b
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Reference in New Issue