Skip to content

Commit

Permalink
style: Remove unused BorrowedAtom.
Browse files Browse the repository at this point in the history
  • Loading branch information
heycam authored and emilio committed Aug 18, 2018
1 parent 9206283 commit e305b5a
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions components/style/gecko_string_cache/mod.rs
Expand Up @@ -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;

Expand Down

0 comments on commit e305b5a

Please sign in to comment.