Make insert_regulator
private
This commit is contained in:
parent
6c31a25822
commit
c368a38803
1 changed files with 1 additions and 1 deletions
|
@ -272,7 +272,7 @@ impl Assembly {
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn insert_regulator(&self, regulator: Regulator) {
|
fn insert_regulator(&self, regulator: Regulator) {
|
||||||
let subjects = regulator.subjects;
|
let subjects = regulator.subjects;
|
||||||
let key = self.regulators.update(|regs| regs.insert(regulator));
|
let key = self.regulators.update(|regs| regs.insert(regulator));
|
||||||
let subject_regulators = self.elements.with(
|
let subject_regulators = self.elements.with(
|
||||||
|
|
Loading…
Add table
Reference in a new issue