diff --git a/prototype/doubt-difftool/Unified.swift b/prototype/doubt-difftool/Unified.swift index db241454b..a71ddd27a 100644 --- a/prototype/doubt-difftool/Unified.swift +++ b/prototype/doubt-difftool/Unified.swift @@ -26,16 +26,7 @@ func unified(diff: Diff, before: String, after: String) -> String { case .Leaf: return (String(after.utf16[info.1.range]), info.1.range) case let .Indexed(i): - var previous = info.1.range.startIndex - var out: String = "" - for (string, range) in i { - if let range = range { - out += String(after.utf16[previous..