Skip to content

Commit c9aeb57

Browse files
committed
delete useless simplification rule
1 parent c8fca40 commit c9aeb57

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

kmir/src/kmir/kdist/mir-semantics/symbolic/spl-token.md

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -180,11 +180,6 @@ module KMIR-SPL-TOKEN
180180
rule #adjustRef(SPLDataBorrowMut(PLACE, VAL), OFFSET) => SPLDataBorrowMut(#adjustRef(PLACE, OFFSET), #adjustRef(VAL, OFFSET))
181181
rule #adjustRef(SPLDataBuffer(VAL), OFFSET) => SPLDataBuffer(#adjustRef(VAL, OFFSET))
182182
rule #adjustRef(SPLPubkeyRef(VAL), OFFSET) => SPLPubkeyRef(#adjustRef(VAL, OFFSET))
183-
// COption values are pure data; adjusting references is a no-op
184-
rule #adjustRef(VAL, _) => VAL
185-
requires #isSplCOptionPubkey(VAL) orBool #isSplCOptionU64(VAL)
186-
[simplification]
187-
188183
```
189184

190185
## Slice metadata for SPL account buffers

0 commit comments

Comments
 (0)