Skip to content

Commit ee27db4

Browse files
committed
wit/bindgen: remove unnecessary type parameter
1 parent 65345bf commit ee27db4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

wit/bindgen/testdata_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ func writeFile(t *testing.T, dir, pkgPath string, file *gen.File) {
7474
}
7575
}
7676

77-
var canGo = sync.OnceValue[bool](func() bool {
77+
var canGo = sync.OnceValue(func() bool {
7878
err := exec.Command("go", "version").Run()
7979
return err == nil
8080
})

0 commit comments

Comments
 (0)