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:
Tobin C. Harding 2022-07-20 13:01:34 +10:00
parent d1a05401f4
commit aa8109a791
1 changed files with 2 additions and 2 deletions

View File

@ -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()
}], }],
}; };