mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Miscellaneous build / tidy fixes.
This commit is contained in:
parent
5158f65810
commit
31e8e418ea
66 changed files with 566 additions and 294 deletions
|
@ -147,6 +147,13 @@ impl PartialEq for WeakAtom {
|
|||
}
|
||||
}
|
||||
|
||||
impl PartialEq<Atom> for WeakAtom {
|
||||
#[inline]
|
||||
fn eq(&self, other: &Atom) -> bool {
|
||||
self == &**other
|
||||
}
|
||||
}
|
||||
|
||||
unsafe impl Send for Atom {}
|
||||
unsafe impl Sync for Atom {}
|
||||
unsafe impl Sync for WeakAtom {}
|
||||
|
|
|
@ -47,7 +47,7 @@ impl PrecomputedHash for Namespace {
|
|||
}
|
||||
|
||||
/// A Gecko WeakNamespace is a wrapped WeakAtom.
|
||||
#[derive(Hash, Deref)]
|
||||
#[derive(Deref, Hash)]
|
||||
pub struct WeakNamespace(WeakAtom);
|
||||
|
||||
impl Deref for Namespace {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue