summaryrefslogtreecommitdiff
path: root/tests/lean/External
diff options
context:
space:
mode:
Diffstat (limited to 'tests/lean/External')
-rw-r--r--tests/lean/External/Funs.lean6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/lean/External/Funs.lean b/tests/lean/External/Funs.lean
index db15aacc..8b645037 100644
--- a/tests/lean/External/Funs.lean
+++ b/tests/lean/External/Funs.lean
@@ -38,9 +38,9 @@ def custom_swap
Result (State × (T × (T → State → Result (State × (T × T)))))
:=
do
- let (st1, (t, t1)) ← core.mem.swap T x y st
- let back_'a := fun ret st2 => Result.ret (st2, (ret, t1))
- Result.ret (st1, (t, back_'a))
+ let (st1, (x1, y1)) ← core.mem.swap T x y st
+ let back_'a := fun ret st2 => Result.ret (st2, (ret, y1))
+ Result.ret (st1, (x1, back_'a))
/- [external::test_custom_swap]:
Source: 'src/external.rs', lines 29:0-29:59 -/