Skip to content

Commit a4fc743

Browse files
tahina-promtzguido
authored andcommitted
Pulse.Lib.Array.memcpy does not require eqtype
1 parent bb7c14f commit a4fc743

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

lib/pulse/lib/Pulse.Lib.Array.fst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ fn compare (#t:eqtype) (l:US.t) (a1 a2:larray t (US.v l)) (#p1 #p2:perm)
5353
(!i = l)
5454
}
5555

56-
fn memcpy_l (#t:eqtype) (l:US.t) (src dst:(a:array t { US.v l <= A.length a }))
56+
fn memcpy_l (#t:Type0) (l:US.t) (src dst:(a:array t { US.v l <= A.length a }))
5757
(#p:perm) (#src0 #dst0:Ghost.erased (Seq.seq t))
5858
requires pts_to src #p src0 **
5959
pts_to dst dst0
@@ -89,7 +89,7 @@ fn memcpy_l (#t:eqtype) (l:US.t) (src dst:(a:array t { US.v l <= A.length a }))
8989

9090

9191
fn memcpy
92-
(#t:eqtype)
92+
(#t:Type0)
9393
(l:SZ.t)
9494
(src dst:larray t (SZ.v l))
9595
(#p:perm)

lib/pulse/lib/Pulse.Lib.Array.fsti

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ fn compare
4141
pure (res <==> Seq.equal s1 s2)
4242

4343
fn memcpy_l
44-
(#t:eqtype)
44+
(#t:Type0)
4545
(l:SZ.t)
4646
(src dst:(a:array t { SZ.v l <= length a }))
4747
(#p:perm)
@@ -54,7 +54,7 @@ fn memcpy_l
5454
(Seq.slice dst0 (SZ.v l) (length dst)))
5555

5656
fn memcpy
57-
(#t:eqtype)
57+
(#t:Type0)
5858
(l:SZ.t)
5959
(src dst:larray t (SZ.v l))
6060
(#p:perm)

0 commit comments

Comments
 (0)