Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This makes the code easier to read and also avoids looking up the position in the map twice. The clone of `unit` is very cheap since it is an Rc.
- Loading branch information