diff --git a/Sources/CustomDump/Diff.swift b/Sources/CustomDump/Diff.swift index 934ad5f..931e4f1 100644 --- a/Sources/CustomDump/Diff.swift +++ b/Sources/CustomDump/Diff.swift @@ -397,8 +397,7 @@ public func diff(_ lhs: T, _ rhs: T, format: DiffFormat = .default) -> String terminator: "", to: &out ) - } else if lhsItem == rhsItem, - let (lhs, rhs) = (lhs as? any _CustomDiffObject)?._customDiffValues + } else if lhsItem == rhsItem, let (lhs, rhs) = (lhs as? _CustomDiffObject)?._customDiffValues { print( diffHelp(