updated dependencies
This commit is contained in:
parent
89ed7a4100
commit
022e46f65e
165 changed files with 3701 additions and 1794 deletions
2
vendor/google.golang.org/protobuf/internal/strs/strings_unsafe.go
generated
vendored
2
vendor/google.golang.org/protobuf/internal/strs/strings_unsafe.go
generated
vendored
|
|
@ -87,7 +87,7 @@ func (sb *Builder) grow(n int) {
|
|||
// Unlike strings.Builder, we do not need to copy over the contents
|
||||
// of the old buffer since our builder provides no API for
|
||||
// retrieving previously created strings.
|
||||
sb.buf = make([]byte, 2*(cap(sb.buf)+n))
|
||||
sb.buf = make([]byte, 0, 2*(cap(sb.buf)+n))
|
||||
}
|
||||
|
||||
func (sb *Builder) last(n int) string {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue