Skip to content

Commit 3b10a14

Browse files
committedOct 24, 2023
remove dead comment
1 parent 94c8954 commit 3b10a14

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed
 

‎src/core/CCVec.ml

-12
Original file line numberDiff line numberDiff line change
@@ -92,18 +92,6 @@ let clear_and_reset v =
9292
v.size <- 0;
9393
v.vec <- [||]
9494

95-
(* TODO*)
96-
(*
97-
let v = create() in
98-
let a = Weak.create 1 in
99-
push v ("hello"^"world");
100-
Weak.set a 0 (Some (get v 0));
101-
Gc.full_major(); Gc.compact();
102-
assert_bool "is alive" (Weak.check a 0);
103-
Gc.full_major(); Gc.compact();
104-
assert_equal None (Weak.get a 0);
105-
*)
106-
10795
let[@inline] is_empty v = v.size = 0
10896

10997
let[@inline] push_unsafe_ v x =

0 commit comments

Comments
 (0)
Please sign in to comment.