wip: cargo fix
This commit is contained in:
1 parent
c7ca7c2273
commit
fd03b9d252
1 file changed
-37
@@ -451,40 +451,3 @@ impl Debug for VNode<'_> {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
mod tests {
|
||||
|
||||
|
||||
static B1: &str = "hello world!";
|
||||
static B2: &str = "hello world!";
|
||||
#[test]
|
||||
fn test() {
|
||||
dbg!("Hello world!" as *const _ as *const ());
|
||||
dbg!("Hello world!" as *const _ as *const ());
|
||||
// dbg!(B1 as *const _ as *const ());
|
||||
// dbg!(B2 as *const _ as *const ());
|
||||
// goal: elements as const
|
||||
|
||||
// let b = A.clone();
|
||||
// A.dom_id.set(RealDomNode::new(10));
|
||||
|
||||
// let p = &A;
|
||||
// p.dom_id.set(RealDomNode::new(10));
|
||||
// dbg!(p.dom_id.get());
|
||||
|
||||
// dbg!(p as *const _ as *const ());
|
||||
// dbg!(&A as *const _ as *const ());
|
||||
|
||||
// // dbg!(b.dom_id.get());
|
||||
// dbg!(A.dom_id.get());
|
||||
|
||||
// A.dom_id.set(RealDomNode::empty());
|
||||
// let g = A.dom_id.get();
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn sizing() {
|
||||
dbg!(std::mem::size_of::<VElement>());
|
||||
dbg!(std::mem::align_of::<VElement>());
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user