Skip to content

Commit 6715313

Browse files
committed
minor: prefer const
1 parent efe75d5 commit 6715313

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

cwriter/cuuAndEd_construction_bench_test.go

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,9 @@ import (
88
"testing"
99
)
1010

11-
var (
12-
out = io.Discard
13-
lines = 99
14-
)
11+
const lines = 99
12+
13+
var out = io.Discard
1514

1615
func BenchmarkWithFprintf(b *testing.B) {
1716
verb := fmt.Sprintf("%s%%d%s", escOpen, cuuAndEd)

0 commit comments

Comments
 (0)