summaryrefslogtreecommitdiffstats
path: root/src/sandbox/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/sandbox/mod.rs')
-rw-r--r--src/sandbox/mod.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sandbox/mod.rs b/src/sandbox/mod.rs
index b82647b..bb6ab60 100644
--- a/src/sandbox/mod.rs
+++ b/src/sandbox/mod.rs
@@ -123,12 +123,12 @@ pub fn backend_for(cfg: &Config) -> Result<Arc<dyn SandboxBackend>> {
}
#[derive(Clone)]
-pub(crate) struct Bound {
+struct Bound {
pub local: String,
pub rx: Receiver<TcpStream>,
}
-pub(crate) fn bound_listener(addr: &str, token: &str) -> Result<Bound> {
+fn bound_listener(addr: &str, token: &str) -> Result<Bound> {
static REGISTRY: OnceLock<Mutex<HashMap<(String, String), Bound>>> = OnceLock::new();
let registry = REGISTRY.get_or_init(|| Mutex::new(HashMap::new()));
let key = (addr.to_string(), token.to_string());