summaryrefslogtreecommitdiff
path: root/src/steps.rs
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2019-12-28 17:49:07 +0200
committerLars Wirzenius <liw@liw.fi>2019-12-28 17:49:07 +0200
commit98ce95a7c9d62aa5ed49476251c8267e3239e992 (patch)
tree458d3e36e5897d5ce395aaa661b098a7231814c3 /src/steps.rs
parent0ccc3dd7c6c0d545df9eb6bf11d55a073f0e7361 (diff)
downloadsubplot-98ce95a7c9d62aa5ed49476251c8267e3239e992.tar.gz
Add: missing documentation comments
Diffstat (limited to 'src/steps.rs')
-rw-r--r--src/steps.rs5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/steps.rs b/src/steps.rs
index 3a41a4c..5838170 100644
--- a/src/steps.rs
+++ b/src/steps.rs
@@ -65,8 +65,13 @@ impl ScenarioStep {
/// such as "and" to mean the same kind as the previous step.
#[derive(Clone, Copy, Debug, Eq, PartialEq)]
pub enum StepKind {
+ /// A "given some precondition" step.
Given,
+
+ /// A "when something happens" step.
When,
+
+ /// A "then some condition" step.
Then,
}