diff options
author | Son Ho | 2024-04-04 15:48:25 +0200 |
---|---|---|
committer | Son Ho | 2024-04-04 15:48:25 +0200 |
commit | a882e28134dc6c44e7a2b5b82eb42041e9a1f342 (patch) | |
tree | 98a00a150d03b8088df62550a6d8ab0f23c0e779 /tests/fstar/misc/External.Funs.fst | |
parent | 1f3ce79023d902d0145da38e878d991a6ba29236 (diff) | |
parent | 7f7387c5519da00133ad557450695e6d6838f93c (diff) |
Merge remote-tracking branch 'origin/main' into escherichia/error_catching
Diffstat (limited to '')
-rw-r--r-- | tests/fstar/misc/External.Funs.fst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/fstar/misc/External.Funs.fst b/tests/fstar/misc/External.Funs.fst index 3ba20022..78960404 100644 --- a/tests/fstar/misc/External.Funs.fst +++ b/tests/fstar/misc/External.Funs.fst @@ -34,8 +34,8 @@ let custom_swap result (state & (t & (t -> state -> result (state & (t & t))))) = let* (st1, (x1, y1)) = core_mem_swap t x y st in - let back_'a = fun ret st2 -> Return (st2, (ret, y1)) in - Return (st1, (x1, back_'a)) + let back = fun ret st2 -> Return (st2, (ret, y1)) in + Return (st1, (x1, back)) (** [external::test_custom_swap]: Source: 'src/external.rs', lines 29:0-29:59 *) |