Skip to content

Commit 3efea03

Browse files
committed
Split out Mark
1 parent 120af7f commit 3efea03

File tree

1 file changed

+3
-10
lines changed

1 file changed

+3
-10
lines changed

src/lib.rs

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@
99
#![feature(const_raw_ptr_to_usize_cast)]
1010
#![feature(const_mut_refs)]
1111
#![feature(trivial_bounds)]
12+
13+
mod mark;
14+
1215
use std::cell::UnsafeCell;
1316
use std::collections::HashMap;
1417
use std::collections::HashSet;
@@ -18,16 +21,6 @@ use std::ptr;
1821
use std::sync::Mutex;
1922
use std::thread_local;
2023

21-
// GAT Mark
22-
// pub unsafe trait Mark<'o, 'n, O> {
23-
// type Struct<'l>;
24-
// fn mark(&'n self, o: Gc<'o, Self::Struct<'o>>) -> Gc<'n, Self::Struct<'n>>;
25-
// }
26-
27-
pub unsafe trait Mark<'o, 'n, O, N> {
28-
fn mark(&'n self, o: Gc<'o, O>) -> Gc<'n, N>;
29-
}
30-
3124
pub unsafe trait Trace {
3225
fn trace(t: &Self);
3326
const TRACE_TYPE_INFO: GcTypeInfo;

0 commit comments

Comments
 (0)