diff options
| author | Caleb Spare <cespare@gmail.com> | 2017-12-08 02:11:05 -0800 |
|---|---|---|
| committer | Ian Lance Taylor <iant@golang.org> | 2017-12-08 13:48:05 +0000 |
| commit | b9ba337aae3fd62f89a23c2098dec6dfe0d1f9f1 (patch) | |
| tree | 877c465ad5c451929f2414ee4a392d53a34e99d4 /src/strings | |
| parent | d42826a0f41c18aeb88b6288c27fa27c62dbe384 (diff) | |
| download | go-b9ba337aae3fd62f89a23c2098dec6dfe0d1f9f1.tar.xz | |
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>
Diffstat (limited to 'src/strings')
| -rw-r--r-- | src/strings/builder.go | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/strings/builder.go b/src/strings/builder.go index 594f3db513..09ebb3d91b 100644 --- a/src/strings/builder.go +++ b/src/strings/builder.go @@ -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) { |
