Skip to content

Commit a6ad7a7

Browse files
committed
minor: comment
1 parent 68f7b23 commit a6ad7a7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

decor/decorator.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ func (wc *WC) Init() WC {
165165
wc.fill = runewidth.FillLeft
166166
}
167167
if (wc.C & DSyncWidth) != 0 {
168-
// it's deliberate choice to override wsync on each Init() call,
168+
// it's deliberate choice to override wc.sync on each Init() call,
169169
// this way globals like WCSyncSpace can be reused
170170
wc.sync = &Sync{make(chan int, 1), make(chan int, 1)}
171171
}

0 commit comments

Comments
 (0)