lib.rs |
```
extern crate malloc_size_of;
extern crate servo_arc;
fn sizeable<T: malloc_size_of::MallocSizeOf>() {}
fn shallow_sizeable<T: malloc_size_of::MallocShallowSizeOf>() {}
fn cloneable<T: Clone>() {}
fn main() {
cloneable::<servo_arc::Arc<i32>>();
cloneable::<std::sync::Arc<i32>>();
cloneable::<std::rc::Rc<i32>>();
}
```
|
2145 |