aboutsummaryrefslogtreecommitdiffstats
path: root/skate/xio/util.go
diff options
context:
space:
mode:
Diffstat (limited to 'skate/xio/util.go')
-rw-r--r--skate/xio/util.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/skate/xio/util.go b/skate/xio/util.go
index 10225a1..4416c9f 100644
--- a/skate/xio/util.go
+++ b/skate/xio/util.go
@@ -9,13 +9,13 @@ import (
"sync"
)
-// SyncWriter makes any writer thread safe, using a lock.
+// SyncWriter makes any writer thread-safe using a lock.
type SyncWriter struct {
sync.Mutex
w io.Writer
}
-// NewSyncWriter returns an io.Writer that can be safely accessed by multiple
+// NewSyncWriter returns an io.Writer that can be safely written to by multiple
// goroutines.
func NewSyncWriter(w io.Writer) *SyncWriter {
return &SyncWriter{w: w}