From c368a38803a735ff915e92609de28732f2e0348d Mon Sep 17 00:00:00 2001 From: Aaron Fenyes Date: Wed, 26 Feb 2025 22:22:58 -0800 Subject: [PATCH] Make `insert_regulator` private --- app-proto/src/assembly.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app-proto/src/assembly.rs b/app-proto/src/assembly.rs index 2ccfc69..739dfc1 100644 --- a/app-proto/src/assembly.rs +++ b/app-proto/src/assembly.rs @@ -272,7 +272,7 @@ impl Assembly { ); } - pub fn insert_regulator(&self, regulator: Regulator) { + fn insert_regulator(&self, regulator: Regulator) { let subjects = regulator.subjects; let key = self.regulators.update(|regs| regs.insert(regulator)); let subject_regulators = self.elements.with(