Skip to content

Commit

Permalink
make goling happy by substituting f += 1 with f++
Browse files Browse the repository at this point in the history
  • Loading branch information
valyala committed Jul 29, 2020
1 parent 7dd50ac commit 5597812
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions writer_timing_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ func BenchmarkQWriterFfloat(b *testing.B) {
for pb.Next() {
w.F(f)
bb.Reset()
f += 1
f++
}
ReleaseByteBuffer(bb)
})
Expand All @@ -161,7 +161,7 @@ func BenchmarkQWriterFint(b *testing.B) {
for pb.Next() {
w.F(f)
bb.Reset()
f += 1
f++
}
ReleaseByteBuffer(bb)
})
Expand Down

0 comments on commit 5597812

Please sign in to comment.