Skip to content

Commit b9ba337

Browse files
cespareianlancetaylor
authored andcommitted
strings: delete unused constant
Change-Id: I235c5bc7ce598047eccc1518984dd27f568046a2 Reviewed-on: https://go-review.googlesource.com/82776 Run-TryBot: Caleb Spare <[email protected]> TryBot-Result: Gobot Gobot <[email protected]> Reviewed-by: Ian Lance Taylor <[email protected]>
1 parent d42826a commit b9ba337

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/strings/builder.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,6 @@ func (b *Builder) Len() int { return len(b.buf) }
2828
// Reset resets the Builder to be empty.
2929
func (b *Builder) Reset() { b.buf = nil }
3030

31-
const maxInt = int(^uint(0) >> 1)
32-
3331
// grow copies the buffer to a new, larger buffer so that there are at least n
3432
// bytes of capacity beyond len(b.buf).
3533
func (b *Builder) grow(n int) {

0 commit comments

Comments
 (0)