Documenting some code and doing cleanups

This commit is contained in:
JT
2021-11-03 08:53:48 +13:00
parent b53570ceaa
commit 5e42b14026
6 changed files with 105 additions and 38 deletions

View File

@ -30,7 +30,7 @@ pub fn test_examples(cmd: impl Command + 'static) {
working_set.render()
};
EngineState::merge_delta(&mut *engine_state, delta);
engine_state.merge_delta(delta);
for example in examples {
// Skip tests that don't have results to compare to
@ -50,7 +50,7 @@ pub fn test_examples(cmd: impl Command + 'static) {
(output, working_set.render())
};
EngineState::merge_delta(&mut engine_state, delta);
engine_state.merge_delta(delta);
let mut stack = Stack::new();