doc: fix various typos

Found via `codespell -q 3 -L atleast,iinclude,ist,programm,reenable,ser,uptodate`
This commit is contained in:
Luz Paz
2025-03-05 20:47:08 -05:00
parent de9a040d27
commit 794341a494
6 changed files with 6 additions and 6 deletions

View File

@@ -374,7 +374,7 @@ func TestBackendLoadCircuitBreakerCancel(t *testing.T) {
err := retryBackend.Load(cctx, backend.Handle{Name: "other"}, 0, 0, nilRd)
test.Equals(t, context.Canceled, err, "unexpected error")
// reset context and check that the cirucit breaker does not return an error
// reset context and check that the circuit breaker does not return an error
cctx, cancel = context.WithCancel(context.Background())
defer cancel()
err = retryBackend.Load(cctx, backend.Handle{Name: "other"}, 0, 0, nilRd)

View File

@@ -359,7 +359,7 @@ func (r *fileRestorer) downloadBlobs(ctx context.Context, packID restic.ID,
}
for file, offsets := range blob.files {
for _, offset := range offsets {
// avoid long cancelation delays for frequently used blobs
// avoid long cancellation delays for frequently used blobs
if ctx.Err() != nil {
return ctx.Err()
}