mirror of
https://github.com/github/semantic.git
synced 2025-01-01 19:55:34 +03:00
Use Patch
es’ inverse directly.
This commit is contained in:
parent
1493b2938e
commit
52dc661fc9
@ -139,7 +139,7 @@ extension Free where B: PatchType, B.Element == Cofree<A, ()> {
|
||||
|
||||
|
||||
public var inverse: Free {
|
||||
return map { B(patch: $0.patch.inverse) }
|
||||
return map { $0.inverse }
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user