aboutsummaryrefslogtreecommitdiff
path: root/src/runtime
diff options
context:
space:
mode:
Diffstat (limited to 'src/runtime')
-rw-r--r--src/runtime/panic.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/runtime/panic.go b/src/runtime/panic.go
index 8c91c9435a..175452fec9 100644
--- a/src/runtime/panic.go
+++ b/src/runtime/panic.go
@@ -1108,7 +1108,7 @@ func gorecover() any {
// frame between gopanic and gorecover.
//
// We don't recover this:
- // defer func() { func() { recover() }() }
+ // defer func() { func() { recover() }() }()
// because there are 2 non-wrapper frames.
//
// We don't recover this: