1
1
mirror of https://github.com/github/semantic.git synced 2024-12-25 07:55:12 +03:00

Term printing is private.

This commit is contained in:
Rob Rix 2015-11-02 16:11:55 -05:00
parent 1027f6b67f
commit b858c164d8

View File

@ -1,4 +1,4 @@
func unified(patch: Patch<Term>, source: String) -> String {
private func unified(patch: Patch<Term>, source: String) -> String {
return (patch.state.before.map { "{-\($0)-}" } ?? "")
+ (patch.state.after.map { "{+\($0)+}" } ?? "")
}