aboutsummaryrefslogtreecommitdiff
path: root/src/os/exec/exec.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/os/exec/exec.go')
-rw-r--r--src/os/exec/exec.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/os/exec/exec.go b/src/os/exec/exec.go
index 9551c22d6e..845b737e28 100644
--- a/src/os/exec/exec.go
+++ b/src/os/exec/exec.go
@@ -216,7 +216,7 @@ func (c *Cmd) String() string {
// interfaceEqual protects against panics from doing equality tests on
// two interfaces with non-comparable underlying types.
-func interfaceEqual(a, b interface{}) bool {
+func interfaceEqual(a, b any) bool {
defer func() {
recover()
}()