Skip to content

Commit ad7df0d

Browse files
committed
Update comments
1 parent 3cd1cb1 commit ad7df0d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

internal/sync/coroutine.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ func newState() *coState {
8585
return &coState{
8686
blocking: make(chan bool, 1),
8787
unblock: make(chan bool),
88-
// Mostly used while debugging issues, default to discarding log messages
88+
// Only used while debugging issues, default to discarding log messages
8989
logger: log.New(io.Discard, "[co]", log.LstdFlags),
9090
// logger: log.New(os.Stderr, fmt.Sprintf("[co %v]", i), log.Lmsgprefix|log.Ltime),
9191
deadlockDetection: DeadlockDetection,

internal/sync/future.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ type Future[T any] interface {
1212
type SettableFuture[T any] interface {
1313
Future[T]
1414

15-
// Set stores the value and unblocks any waiting consumers
15+
// Set stores the value
1616
Set(v T, err error) error
1717
}
1818

0 commit comments

Comments
 (0)