mirror of
https://github.com/restic/restic.git
synced 2025-08-21 12:27:32 +00:00
comment cleanup
gofmt reformatted the comment
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user