We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1bd7932 commit c7d92bbCopy full SHA for c7d92bb
manualclock/wait.go
@@ -22,13 +22,13 @@ import (
22
23
// nonwaiting represents the set of goroutine statuses that do not indicate waiting.
24
var nonwaiting = map[string]struct{}{
25
- "idle": struct{}{},
26
- "runnable": struct{}{},
27
- "running": struct{}{},
28
- "syscall": struct{}{},
29
- "dead": struct{}{},
30
- "enqueue": struct{}{},
31
- "copystack": struct{}{},
+ "idle": {},
+ "runnable": {},
+ "running": {},
+ "syscall": {},
+ "dead": {},
+ "enqueue": {},
+ "copystack": {},
32
}
33
34
type waitpoint struct {
0 commit comments