Please, fill in the following checklist when you submit a PR.
[x] Review the CONTRIBUTING.md file for
detailed contributing guidelines before sending a PR.
[x] Your contribution is made under the project's copyright
license.
[x] Make sure that your PR is not a duplicate.
[x] You have done your changes in a separate branch.
[x] You have a descriptive commit message with a short title (first line).
[ ] You have only one commit (if not, squash them into one commit).
[x] Your changes include unit tests (if they are code changes).
[x] cargo test passes.
[x] cargo clippy does not generate any warnings.
[x] Your code is formatted with cargo fmt.
[x] If your change is a bug-fix, put closes #XXXX in your commit
message to auto-close the issue that your PR fixes.
[x] If your change relates to the behaviour of the simulator, please
include comments explaining which part of the reference
documentation
describes the thing you're changing.
Pull Request template
Please, fill in the following checklist when you submit a PR.
cargo test
passes.cargo clippy
does not generate any warnings.cargo fmt
.closes #XXXX
in your commit message to auto-close the issue that your PR fixes.PLEASE KEEP THE ABOVE IN YOUR PULL REQUEST.