From e588ee5bbef5f2e9f7e0d15ebdf7c499c20a33e2 Mon Sep 17 00:00:00 2001 From: Kjetil Torgrim Homme Date: Tue, 14 Jan 2025 02:09:32 +0100 Subject: [PATCH] lint: typo in previous comment fix --- internal/restic/duration.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/restic/duration.go b/internal/restic/duration.go index f10d1e811..292ba80fd 100644 --- a/internal/restic/duration.go +++ b/internal/restic/duration.go @@ -127,7 +127,7 @@ func (d *Duration) Set(s string) error { return nil } -// ParseTime returns past point in time where this duration is relative to time t. If t is not given, use time.Now(). +// PastTime returns past point in time where this duration is relative to time t. If t is not given, use time.Now(). func (d Duration) PastTime(t ...time.Time) time.Time { var reftime time.Time if t == nil {