mirror of
https://github.com/restic/restic.git
synced 2025-10-26 09:28:51 +00:00
doc: fix various typos
Found via `codespell -q 3 -L atleast,iinclude,ist,programm,reenable,ser,uptodate`
This commit is contained in:
@@ -43,7 +43,7 @@ import (
|
||||
"golang.org/x/term"
|
||||
)
|
||||
|
||||
// ErrNoRepository is used to report if opening a repsitory failed due
|
||||
// ErrNoRepository is used to report if opening a repository failed due
|
||||
// to a missing backend storage location or config file
|
||||
var ErrNoRepository = errors.New("repository does not exist")
|
||||
|
||||
|
||||
@@ -174,7 +174,7 @@ func main() {
|
||||
if err == nil {
|
||||
err = ctx.Err()
|
||||
} else if err == ErrOK {
|
||||
// ErrOK overwrites context cancelation errors
|
||||
// ErrOK overwrites context cancellation errors
|
||||
err = nil
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user