Use struct field short form
Clippy emits two warnings of form: warning: redundant field names in struct initialization Remove the redundant field names and use struct short initialization form.
This commit is contained in:
parent
d1a05401f4
commit
aa8109a791
|
@ -579,8 +579,8 @@ mod tests {
|
||||||
}],
|
}],
|
||||||
outputs: vec![Output {
|
outputs: vec![Output {
|
||||||
bip32_derivation: keypaths,
|
bip32_derivation: keypaths,
|
||||||
proprietary: proprietary,
|
proprietary,
|
||||||
unknown: unknown,
|
unknown,
|
||||||
..Default::default()
|
..Default::default()
|
||||||
}],
|
}],
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue