mirror of
https://github.com/rclone/rclone.git
synced 2025-12-11 22:14:05 +01:00
build: replace interface{} by the 'any' type added in go1.18
This commit is contained in:
@@ -261,7 +261,7 @@ func Set(config configmap.Getter, opt any) (err error) {
|
||||
}
|
||||
|
||||
// setIfSameType set aPtr with b if they are the same type or returns false.
|
||||
func setIfSameType(aPtr interface{}, b interface{}) bool {
|
||||
func setIfSameType(aPtr any, b any) bool {
|
||||
aVal := reflect.ValueOf(aPtr).Elem()
|
||||
bVal := reflect.ValueOf(b)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user