summaryrefslogtreecommitdiff
path: root/tests/lean/Demo
diff options
context:
space:
mode:
authorSon Ho2024-03-19 05:29:29 +0100
committerSon Ho2024-03-19 05:29:29 +0100
commitf3e16bb43a8ff27a5184d9fa452277cc6a59410f (patch)
treef79760b40b3a9f404b1db0d61f9d452408ef1de5 /tests/lean/Demo
parent5a1373f5492f65ff0da6f7e0c34b056a98070908 (diff)
Regenerate the tests
Diffstat (limited to 'tests/lean/Demo')
-rw-r--r--tests/lean/Demo/Demo.lean4
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/lean/Demo/Demo.lean b/tests/lean/Demo/Demo.lean
index f38b5cd3..09032820 100644
--- a/tests/lean/Demo/Demo.lean
+++ b/tests/lean/Demo/Demo.lean
@@ -116,9 +116,7 @@ def list_nth_mut1
(T : Type) (l : CList T) (i : U32) :
Result (T × (T → Result (CList T)))
:=
- do
- let (t, back_'a) ← list_nth_mut1_loop T l i
- Result.ret (t, back_'a)
+ list_nth_mut1_loop T l i
/- [demo::i32_id]:
Source: 'src/demo.rs', lines 80:0-80:28 -/