summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Silverstone <dsilvers@digital-scurf.org>2021-05-28 19:40:09 +0100
committerDaniel Silverstone <dsilvers@digital-scurf.org>2021-05-28 21:06:45 +0100
commit55e81a7bf6d671f29602f6a09905b596454044ca (patch)
tree20cf3b2e1cb5abffaf9f903e3e447ccb6e585f09
parent51d48c4c7fa215bd1f7d265a64eba4043e298874 (diff)
downloadsubplot-55e81a7bf6d671f29602f6a09905b596454044ca.tar.gz
subplotlib: ScenarioStep::register_contexts should be pub(crate)
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
-rw-r--r--subplotlib/src/step.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/subplotlib/src/step.rs b/subplotlib/src/step.rs
index 6ce3b0a..fba0216 100644
--- a/subplotlib/src/step.rs
+++ b/subplotlib/src/step.rs
@@ -68,7 +68,7 @@ impl ScenarioStep {
}
/// Register any context types needed by this step
- pub fn register_contexts(&self, scenario: &Scenario) {
+ pub(crate) fn register_contexts(&self, scenario: &Scenario) {
(*self.reg)(scenario);
}
}