Skip to content
Commit 4dfb33c7 authored by David Brown's avatar David Brown Committed by David Brown
Browse files

sim: Simplify some struct initializers



In rust, if a struct field is initialized with a variable with the same
name as the field, it is redundant to say `field: field` as the
initializer, and just `field` is sufficient.  Fix the instances of this
that clippy suggests.

Signed-off-by: default avatarDavid Brown <david.brown@linaro.org>
parent 7cc4526d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment