comment cleanup

gofmt reformatted the comment
This commit is contained in:
Michael Eischer 2022-08-18 20:15:04 +02:00
parent bb27f7408c
commit 2ea6c82cf6

View file

@ -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