Remove the Rc from ROOTED_TRACEABLES.

It does not appear to be necessary.
This commit is contained in:
Ms2ger 2016-12-13 16:53:00 +01:00
parent a15d279e9f
commit 061350ed7d

View file

@ -574,8 +574,8 @@ pub struct RootedTraceableSet {
thread_local!(
/// TLV Holds a set of JSTraceables that need to be rooted
static ROOTED_TRACEABLES: Rc<RefCell<RootedTraceableSet>> =
Rc::new(RefCell::new(RootedTraceableSet::new()));
static ROOTED_TRACEABLES: RefCell<RootedTraceableSet> =
RefCell::new(RootedTraceableSet::new());
);
impl RootedTraceableSet {