Remove unused instance Ord Replacement (fixes #1829)
This commit is contained in:
parent
99d6df8a08
commit
a75219e525
|
@ -256,9 +256,6 @@ data Replacement = Replacement {
|
||||||
data InsertionPoint = InsertBefore | InsertAfter
|
data InsertionPoint = InsertBefore | InsertAfter
|
||||||
deriving (Show, Eq, Generic, NFData)
|
deriving (Show, Eq, Generic, NFData)
|
||||||
|
|
||||||
instance Ord Replacement where
|
|
||||||
compare r1 r2 = (repStartPos r1) `compare` (repStartPos r2)
|
|
||||||
|
|
||||||
newReplacement = Replacement {
|
newReplacement = Replacement {
|
||||||
repStartPos = newPosition,
|
repStartPos = newPosition,
|
||||||
repEndPos = newPosition,
|
repEndPos = newPosition,
|
||||||
|
|
Loading…
Reference in New Issue