mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-31 22:41:53 +02:00
Avoid unnecessary conversions
No need to convert these types.
This commit is contained in:
committed by
Bjørn Erik Pedersen
parent
c577a9ed23
commit
6027ee1108
@@ -188,7 +188,7 @@ type permalinkExpandError struct {
|
||||
}
|
||||
|
||||
func (pee *permalinkExpandError) Error() string {
|
||||
return fmt.Sprintf("error expanding %q: %s", string(pee.pattern), pee.err)
|
||||
return fmt.Sprintf("error expanding %q: %s", pee.pattern, pee.err)
|
||||
}
|
||||
|
||||
var (
|
||||
|
Reference in New Issue
Block a user