diff options
| author | Laurenz <laurmaedje@gmail.com> | 2020-10-12 18:01:22 +0200 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2020-10-12 18:01:22 +0200 |
| commit | 1a70cb6a330990dc0ab373905d12458ef87afbad (patch) | |
| tree | 5d82f7124734e146c2d00ce3661294ebe9d91fb4 /src/eval/mod.rs | |
| parent | 5243878d810d4817c81acc9ae346d46757fcf602 (diff) | |
Naming and grammar ✔
Diffstat (limited to 'src/eval/mod.rs')
| -rw-r--r-- | src/eval/mod.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/eval/mod.rs b/src/eval/mod.rs index 6f8b3f5b..62ce6c20 100644 --- a/src/eval/mod.rs +++ b/src/eval/mod.rs @@ -45,7 +45,7 @@ pub fn eval(tree: &SynTree, state: State) -> Pass<Document> { pub struct EvalContext { /// The active evaluation state. pub state: State, - /// The accumualted feedback. + /// The accumulated feedback. f: Feedback, /// The finished page runs. runs: Vec<Pages>, @@ -74,7 +74,7 @@ impl EvalContext { /// Finish evaluation and return the created document. pub fn finish(self) -> Pass<Document> { - assert!(self.groups.is_empty(), "unpoped group"); + assert!(self.groups.is_empty(), "unfinished group"); Pass::new(Document { runs: self.runs }, self.f) } |
