refactor: TerminationHint: Remove duplicted code line (#2859)
(I sincerely hope that erasing from a map is idempotent :-))
This commit is contained in:
parent
5189578a48
commit
fd0a209f74
1 changed files with 0 additions and 1 deletions
|
|
@ -53,7 +53,6 @@ def TerminationHint.markAsUsed (t : TerminationHint) (clique : Array Name) : Ter
|
|||
| TerminationHint.many m => Id.run do
|
||||
for declName in clique do
|
||||
if m.contains declName then
|
||||
let m := m.erase declName
|
||||
let m := m.erase declName
|
||||
if m.isEmpty then
|
||||
return TerminationHint.none
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue