Remove unnecessary copies of loop variables (#28138)

Этот коммит содержится в:
Ben Schumacher
2024-09-11 16:51:30 +02:00
коммит произвёл GitHub
родитель b6bd92f90e
Коммит d9e47522a0
13 изменённых файлов: 0 добавлений и 24 удалений

Просмотреть файл

@@ -135,8 +135,6 @@ func TestFetchAndComplete(t *testing.T) {
},
} {
t.Run(name, func(t *testing.T) {
name := name // TODO: Remove once go1.22 is used
tc := tc // TODO: Remove once go1.22 is used
t.Parallel()
comp, directive := fetchAndComplete[user](tc.fetcher, tc.matcher)(context.Background(), nil, nil, nil, tc.toComplete)