mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Upgrade to rustc 1.21.0-nightly (7eeac1b81 2017-08-30)
This commit is contained in:
parent
c4800a6c83
commit
1dcede75d7
3 changed files with 9 additions and 2 deletions
|
@ -425,6 +425,13 @@ unsafe impl<A, B> JSTraceable for fn(A) -> B {
|
|||
}
|
||||
}
|
||||
|
||||
unsafe impl<'a, A, B> JSTraceable for fn(&A) -> B {
|
||||
#[inline]
|
||||
unsafe fn trace(&self, _: *mut JSTracer) {
|
||||
// Do nothing
|
||||
}
|
||||
}
|
||||
|
||||
unsafe impl<T> JSTraceable for IpcSender<T> where T: for<'de> Deserialize<'de> + Serialize {
|
||||
#[inline]
|
||||
unsafe fn trace(&self, _: *mut JSTracer) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue