mirror of
https://github.com/koalaman/shellcheck
synced 2025-07-08 05:51:09 -07:00
Remove unused instance Ord Replacement (fixes #1829)
This commit is contained in:
parent
99d6df8a08
commit
a75219e525
1 changed files with 0 additions and 3 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue