mirror of
https://github.com/github/semantic.git
synced 2024-11-24 08:54:07 +03:00
Diff.debugDescription gets the debug strings for its contents.
This commit is contained in:
parent
d3b82148b8
commit
bf10dfca2d
@ -22,9 +22,9 @@ public enum Diff: CustomDebugStringConvertible, CustomDocConvertible, Equatable
|
||||
case .Empty:
|
||||
return ".Empty"
|
||||
case let .Patch(a, b):
|
||||
return ".Patch(\(a), \(b))"
|
||||
return ".Patch(\(String(reflecting: a)), \(String(reflecting: b)))"
|
||||
case let .Copy(a):
|
||||
return ".Copy(\(a))"
|
||||
return ".Copy(\(String(reflecting: a)))"
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user