summaryrefslogtreecommitdiff
path: root/tests/lean/External
diff options
context:
space:
mode:
authorSon Ho2024-04-11 20:22:26 +0200
committerSon Ho2024-04-11 20:22:26 +0200
commit2f8aa9b47acb5c98aed91c29b04f71099452e781 (patch)
tree810c6504b8e5b2fcde58841e25079d5e8c8e92ae /tests/lean/External
parent8cb83fd3bd1585f2a68a47580a55dfeee01d9f0a (diff)
Update a Lean file
Diffstat (limited to 'tests/lean/External')
-rw-r--r--tests/lean/External/FunsExternal.lean2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/lean/External/FunsExternal.lean b/tests/lean/External/FunsExternal.lean
index 63830abc..b6efc65f 100644
--- a/tests/lean/External/FunsExternal.lean
+++ b/tests/lean/External/FunsExternal.lean
@@ -9,7 +9,7 @@ open external
/- [core::mem::swap] -/
def core.mem.swap
(T : Type) : T → T → State → Result (State × (T × T)) :=
- fun x y s => .ret (s, (y, x))
+ fun x y s => .ok (s, (y, x))
/- [core::num::nonzero::NonZeroU32::{14}::new] -/
def core.num.nonzero.NonZeroU32.new :