diff options
Diffstat (limited to 'compare/compare.go')
-rw-r--r-- | compare/compare.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/compare/compare.go b/compare/compare.go index 537a66676..a0d2b3239 100644 --- a/compare/compare.go +++ b/compare/compare.go @@ -17,13 +17,13 @@ package compare // The semantics of equals is that the two value are interchangeable // in the Hugo templates. type Eqer interface { - Eq(other interface{}) bool + Eq(other any) bool } // ProbablyEqer is an equal check that may return false positives, but never // a false negative. type ProbablyEqer interface { - ProbablyEq(other interface{}) bool + ProbablyEq(other any) bool } // Comparer can be used to compare two values. @@ -31,5 +31,5 @@ type ProbablyEqer interface { // Compare returns -1 if the given version is less than, 0 if equal and 1 if greater than // the running version. type Comparer interface { - Compare(other interface{}) int + Compare(other any) int } |