From 061350ed7d271adfe03d87d1865ca2f3721ec3d3 Mon Sep 17 00:00:00 2001 From: Ms2ger Date: Tue, 13 Dec 2016 16:53:00 +0100 Subject: [PATCH] Remove the Rc from ROOTED_TRACEABLES. It does not appear to be necessary. --- components/script/dom/bindings/trace.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/script/dom/bindings/trace.rs b/components/script/dom/bindings/trace.rs index 50307275cd7..ad8dc6b935e 100644 --- a/components/script/dom/bindings/trace.rs +++ b/components/script/dom/bindings/trace.rs @@ -574,8 +574,8 @@ pub struct RootedTraceableSet { thread_local!( /// TLV Holds a set of JSTraceables that need to be rooted - static ROOTED_TRACEABLES: Rc> = - Rc::new(RefCell::new(RootedTraceableSet::new())); + static ROOTED_TRACEABLES: RefCell = + RefCell::new(RootedTraceableSet::new()); ); impl RootedTraceableSet {