mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
style: Remove unused BorrowedAtom.
Differential Revision: https://phabricator.services.mozilla.com/D3159
This commit is contained in:
parent
9206283f7e
commit
e305b5a1f8
1 changed files with 0 additions and 4 deletions
|
@ -49,10 +49,6 @@ pub struct Atom(*mut WeakAtom);
|
|||
/// where `'a` is the lifetime of something that holds a strong reference to that atom.
|
||||
pub struct WeakAtom(nsAtom);
|
||||
|
||||
/// A BorrowedAtom for Gecko is just a weak reference to a `nsAtom`, that
|
||||
/// hasn't been bumped.
|
||||
pub type BorrowedAtom<'a> = &'a WeakAtom;
|
||||
|
||||
impl Deref for Atom {
|
||||
type Target = WeakAtom;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue