From e305b5a1f816400468d5f20b42bdfc0ec6f3a392 Mon Sep 17 00:00:00 2001 From: Cameron McCormack Date: Sun, 12 Aug 2018 11:16:25 +0000 Subject: [PATCH] style: Remove unused BorrowedAtom. Differential Revision: https://phabricator.services.mozilla.com/D3159 --- components/style/gecko_string_cache/mod.rs | 4 ---- 1 file changed, 4 deletions(-) diff --git a/components/style/gecko_string_cache/mod.rs b/components/style/gecko_string_cache/mod.rs index b0c8750265b7..e70c7a47c364 100644 --- a/components/style/gecko_string_cache/mod.rs +++ b/components/style/gecko_string_cache/mod.rs @@ -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;