Skip to content

Commit

Permalink
Remove unnecessary loop variable capture (as of Go v1.22).
Browse files Browse the repository at this point in the history
  • Loading branch information
jmalloc committed Mar 1, 2024
1 parent da9d2de commit 2fc7477
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion journal/test.go
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,6 @@ func RunTests(
}

for _, c := range cases {
c := c // capture loop variable
t.Run(c.Desc, func(t *testing.T) {
t.Parallel()

Expand Down

0 comments on commit 2fc7477

Please sign in to comment.