summaryrefslogtreecommitdiffstats
path: root/src/db/model/build_state.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/db/model/build_state.rs')
-rw-r--r--src/db/model/build_state.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/db/model/build_state.rs b/src/db/model/build_state.rs
index d081bca..37eee79 100644
--- a/src/db/model/build_state.rs
+++ b/src/db/model/build_state.rs
@@ -66,7 +66,7 @@ impl BuildState {
}
}
- pub fn predecessors(to: BuildState) -> Vec<&'static str> {
+ pub(crate) fn predecessors(to: BuildState) -> Vec<&'static str> {
BuildState::ALL
.iter()
.filter(|from| from.can_transition(to))
@@ -143,7 +143,7 @@ impl StepState {
}
}
- pub fn predecessors(to: StepState) -> Vec<&'static str> {
+ pub(crate) fn predecessors(to: StepState) -> Vec<&'static str> {
StepState::ALL
.iter()
.filter(|from| from.can_transition(to))