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:
Caleb Spare 2017-12-08 02:11:05 -08:00 committed by Ian Lance Taylor
parent d42826a0f4
commit b9ba337aae

View File

@ -28,8 +28,6 @@ func (b *Builder) Len() int { return len(b.buf) }
// Reset resets the Builder to be empty. // Reset resets the Builder to be empty.
func (b *Builder) Reset() { b.buf = nil } 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 // grow copies the buffer to a new, larger buffer so that there are at least n
// bytes of capacity beyond len(b.buf). // bytes of capacity beyond len(b.buf).
func (b *Builder) grow(n int) { func (b *Builder) grow(n int) {