From f746793890d091d3bca4b7c5261b8b2e2d080512 Mon Sep 17 00:00:00 2001 From: Jonathan Kelley Date: Mon, 13 Dec 2021 00:20:18 -0500 Subject: [PATCH] polish: some basic cleaning --- packages/core/src/scopearena.rs | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/packages/core/src/scopearena.rs b/packages/core/src/scopearena.rs index ae4b1b67a..4f871e401 100644 --- a/packages/core/src/scopearena.rs +++ b/packages/core/src/scopearena.rs @@ -9,9 +9,9 @@ use std::{ use crate::innerlude::*; -pub type FcSlot = *const (); +pub(crate) type FcSlot = *const (); -pub struct Heuristic { +pub(crate) struct Heuristic { hook_arena_size: usize, node_arena_size: usize, } @@ -196,8 +196,6 @@ impl ScopeArena { pub fn try_remove(&self, id: &ScopeId) -> Option<()> { self.ensure_drop_safety(id); - // log::debug!("removing scope {:?}", id); - // Safety: // - ensure_drop_safety ensures that no references to this scope are in use // - this raw pointer is removed from the map