rust: Fix bug in mosys rust implementation

BUG=chromium:795883
TEST=emerge-coral mosys; emerge-daisy mosys; cargo test

Change-Id: Icdd0227e156b1bd0a0012854b4141e3067c6c66a
Reviewed-on: https://chromium-review.googlesource.com/1091450
Commit-Ready: Samantha Miller <samanthamiller@google.com>
Tested-by: Samantha Miller <samanthamiller@google.com>
Reviewed-by: Jason Clinton <jclinton@chromium.org>
Reviewed-by: Alec Thilenius <athilenius@google.com>
1 file changed