From 6445dad7d66fa6a1867090fcd9602c98863649f6 Mon Sep 17 00:00:00 2001 From: ebiggers Date: Sun, 8 Sep 2019 19:46:59 -0700 Subject: Fix various typos and grammatical errors (#141) These were found by a combination of manual review and a custom script that checks for common errors. Also removed an outdated sentence from the comment for setupBefore(). --- util/errors.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'util/errors.go') diff --git a/util/errors.go b/util/errors.go index f10569e..3c87a2c 100644 --- a/util/errors.go +++ b/util/errors.go @@ -72,7 +72,7 @@ type ErrWriter struct { err error } -// NewErrWriter creates an ErrWriter which wraps the provided reader. +// NewErrWriter creates an ErrWriter which wraps the provided writer. func NewErrWriter(writer io.Writer) *ErrWriter { return &ErrWriter{w: writer, err: nil} } @@ -116,7 +116,7 @@ func NeverError(err error) { } var ( - // testEnvVarName is the name on an environment variable that should be + // testEnvVarName is the name of an environment variable that should be // set to an empty mountpoint. This is only used for integration tests. // If not set, integration tests are skipped. testEnvVarName = "TEST_FILESYSTEM_ROOT" -- cgit v1.2.3