Skip to content

Commit 88ac1c9

Browse files
committed
2
1 parent 9d3caab commit 88ac1c9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/sync/once.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ type Once struct {
2121
_ noCopy
2222

2323
// done indicates whether the action has been performed.
24-
// It is first (ignoring noCopy) in the struct because it is used in the hot path.
24+
// It is first in the struct because it is used in the hot path.
2525
// The hot path is inlined at every call site.
2626
// Placing done first allows more compact instructions on some architectures (amd64/386),
2727
// and fewer instructions (to calculate offset) on other architectures.

0 commit comments

Comments
 (0)