From 2ea6c82cf602bd5360e153ad73f3f78e61615e31 Mon Sep 17 00:00:00 2001 From: Michael Eischer Date: Thu, 18 Aug 2022 20:15:04 +0200 Subject: [PATCH] comment cleanup gofmt reformatted the comment --- internal/restic/duration.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/internal/restic/duration.go b/internal/restic/duration.go index 4c9112a7c..831971fe0 100644 --- a/internal/restic/duration.go +++ b/internal/restic/duration.go @@ -76,8 +76,7 @@ func nextNumber(input string) (num int, rest string, err error) { return num, rest, nil } -// ParseDuration parses a duration from a string. The format is: -// 6y5m234d37h +// ParseDuration parses a duration from a string. The format is `6y5m234d37h` func ParseDuration(s string) (Duration, error) { var ( d Duration