We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9d3caab commit 88ac1c9Copy full SHA for 88ac1c9
src/sync/once.go
@@ -21,7 +21,7 @@ type Once struct {
21
_ noCopy
22
23
// 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.
+ // It is first in the struct because it is used in the hot path.
25
// The hot path is inlined at every call site.
26
// Placing done first allows more compact instructions on some architectures (amd64/386),
27
// and fewer instructions (to calculate offset) on other architectures.
0 commit comments