mirror of
https://github.com/golang/go.git
synced 2025-05-23 16:31:27 +00: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.
|
// 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) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user