summaryrefslogtreecommitdiffstats
path: root/watcher
diff options
context:
space:
mode:
authorChristian Oliff <christianoliff@pm.me>2024-02-18 20:16:30 +0900
committerGitHub <noreply@github.com>2024-02-18 12:16:30 +0100
commit168d3757841d2064e11f8d122797e2771273d367 (patch)
treec805e6633220d8dda3197589aa6d7c270909d2bc /watcher
parent4a53fd56b71c8a2f83e5ace38bd7a54000c30f94 (diff)
all: Fix typos and some URLs
Diffstat (limited to 'watcher')
-rw-r--r--watcher/batcher.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/watcher/batcher.go b/watcher/batcher.go
index f293552fe..f88f820d2 100644
--- a/watcher/batcher.go
+++ b/watcher/batcher.go
@@ -30,7 +30,7 @@ type Batcher struct {
}
// New creates and starts a Batcher with the given time interval.
-// It will fall back to a poll based watcher if native isn's supported.
+// It will fall back to a poll based watcher if native isn't supported.
// To always use polling, set poll to true.
func New(intervalBatcher, intervalPoll time.Duration, poll bool) (*Batcher, error) {
var err error