From d178a184142ad5edd9735149ecba385f6721c3bf Mon Sep 17 00:00:00 2001 From: Son Ho Date: Sat, 23 Dec 2023 01:20:48 +0100 Subject: Fix an issue in External_FunsExternal.v --- tests/coq/misc/External_FunsExternal.v | 18 +++--------------- 1 file changed, 3 insertions(+), 15 deletions(-) (limited to 'tests') diff --git a/tests/coq/misc/External_FunsExternal.v b/tests/coq/misc/External_FunsExternal.v index a8c5756a..e9655f57 100644 --- a/tests/coq/misc/External_FunsExternal.v +++ b/tests/coq/misc/External_FunsExternal.v @@ -10,22 +10,10 @@ Require Export External_Types. Include External_Types. Module External_FunsExternal. -(** [core::mem::swap]: forward function +(** [core::mem::swap]: Source: '/rustc/d59363ad0b6391b7fc5bbb02c9ccf9300eef3753/library/core/src/mem/mod.rs', lines 726:0-726:42 *) -Axiom core_mem_swap : - forall(T : Type), T -> T -> state -> result (state * unit) -. - -(** [core::mem::swap]: backward function 0 - Source: '/rustc/d59363ad0b6391b7fc5bbb02c9ccf9300eef3753/library/core/src/mem/mod.rs', lines 726:0-726:42 *) -Axiom core_mem_swap_back0 : - forall(T : Type), T -> T -> state -> state -> result (state * T) -. - -(** [core::mem::swap]: backward function 1 - Source: '/rustc/d59363ad0b6391b7fc5bbb02c9ccf9300eef3753/library/core/src/mem/mod.rs', lines 726:0-726:42 *) -Axiom core_mem_swap_back1 : - forall(T : Type), T -> T -> state -> state -> result (state * T) +Definition core_mem_swap (T : Type) (x : T) (y : T) (s : state) := + Return (s, (y, x)) . (** [core::num::nonzero::{core::num::nonzero::NonZeroU32#14}::new]: forward function -- cgit v1.2.3