Remove Untraceable from treewalker.rs

This commit is contained in:
Manish Goregaokar 2014-09-29 05:11:00 +05:30
parent df8b8ab24f
commit a8997e9638
2 changed files with 9 additions and 3 deletions

View file

@ -254,3 +254,10 @@ impl<T> JSTraceable for Receiver<T> {
// Do nothing
}
}
impl<A,B> JSTraceable for fn(A) -> B {
#[inline]
fn trace(&self, _: *mut JSTracer) {
// Do nothing
}
}