From a814786d9f95b5e6f377b78f0146c4821762f5c1 Mon Sep 17 00:00:00 2001 From: Khoa Date: Tue, 20 Mar 2018 09:04:04 +0100 Subject: [PATCH 1/2] Update DeepDiff.swift --- Sources/Shared/DeepDiff.swift | 1 - 1 file changed, 1 deletion(-) diff --git a/Sources/Shared/DeepDiff.swift b/Sources/Shared/DeepDiff.swift index 28b7e3e..af8447c 100755 --- a/Sources/Shared/DeepDiff.swift +++ b/Sources/Shared/DeepDiff.swift @@ -5,7 +5,6 @@ import Foundation /// - Parameters: /// - old: Old collection /// - new: New collection -/// - reduceMove: Reduce move from insertions and deletions /// - Returns: A set of changes public func diff( old: Array, From d47167afa34d90173f6e6edbb7d6c7e33eb75904 Mon Sep 17 00:00:00 2001 From: Khoa Date: Tue, 20 Mar 2018 09:05:34 +0100 Subject: [PATCH 2/2] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 17611c2..fe24acb 100644 --- a/README.md +++ b/README.md @@ -45,7 +45,7 @@ let changes = diff(old: old, new: new) ```swift let old = Array("abcd") let new = Array("adbc") -let changes = diff(old: old, new: new, reduceMove: true) +let changes = diff(old: old, new: new) // Move "d" from index 3 to index 1 ```