mirror of
https://github.com/servo/servo.git
synced 2025-08-08 06:55:31 +01:00
parent
6d2f70a4fd
commit
be2cb665de
19 changed files with 315 additions and 68 deletions
|
@ -281,6 +281,13 @@ impl JSTraceable for Box<ScriptChan+Send> {
|
|||
}
|
||||
}
|
||||
|
||||
impl JSTraceable for Box<Fn(f64, )> {
|
||||
#[inline]
|
||||
fn trace(&self, _trc: *mut JSTracer) {
|
||||
// Do nothing
|
||||
}
|
||||
}
|
||||
|
||||
impl<'a> JSTraceable for &'a str {
|
||||
#[inline]
|
||||
fn trace(&self, _: *mut JSTracer) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue