Skip to content

Commit

Permalink
runtime: fix typo in deferprocStack's comments
Browse files Browse the repository at this point in the history
  • Loading branch information
zhangyunhao116 committed Nov 13, 2019
1 parent bf5f641 commit b06f976
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/runtime/panic.go
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ func deferprocStack(d *_defer) {
d.varp = 0
// The lines below implement:
// d.panic = nil
// d.fp = nil
// d.fd = nil
// d.link = gp._defer
// gp._defer = d
// But without write barriers. The first three are writes to
Expand Down

0 comments on commit b06f976

Please sign in to comment.