mirror of
https://github.com/teivah/100-go-mistakes.git
synced 2026-06-21 17:07:18 +08:00
Merge 40507cc7ff into c13d0b4807
This commit is contained in:
commit
eb785370bd
1 changed files with 1 additions and 1 deletions
|
|
@ -22,5 +22,5 @@ func BenchmarkSumPtr(b *testing.B) {
|
|||
for i := 0; i < b.N; i++ {
|
||||
local = sumPtr(i, i)
|
||||
}
|
||||
globalValue = *local
|
||||
globalPtr = local
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue