mirror of
https://github.com/golang/go
synced 2024-11-19 15:54:46 -07:00
strings: delete unused constant
Change-Id: I235c5bc7ce598047eccc1518984dd27f568046a2 Reviewed-on: https://go-review.googlesource.com/82776 Run-TryBot: Caleb Spare <cespare@gmail.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Ian Lance Taylor <iant@golang.org>
This commit is contained in:
parent
d42826a0f4
commit
b9ba337aae
@ -28,8 +28,6 @@ func (b *Builder) Len() int { return len(b.buf) }
|
||||
// Reset resets the Builder to be empty.
|
||||
func (b *Builder) Reset() { b.buf = nil }
|
||||
|
||||
const maxInt = int(^uint(0) >> 1)
|
||||
|
||||
// grow copies the buffer to a new, larger buffer so that there are at least n
|
||||
// bytes of capacity beyond len(b.buf).
|
||||
func (b *Builder) grow(n int) {
|
||||
|
Loading…
Reference in New Issue
Block a user