sim: Remove complexity from an if
Clippy suggests that having a closure in the condition of an if can be
confusing in regards to code formatting. Move the conditional outside
of the if into a temp variable.
Signed-off-by:
David Brown <david.brown@linaro.org>
Loading
Please sign in to comment