Remove redundant field names

Clippy emits:

  warning: redundant field names in struct initialization

As suggested, remove redundant field names in struct initialization.
This commit is contained in:
Tobin C. Harding 2022-06-07 14:26:23 +10:00
parent 0f8f4c5609
commit 242c640603
1 changed files with 1 additions and 1 deletions

View File

@ -1086,7 +1086,7 @@ mod tests {
let addr = Address {
payload: Payload::WitnessProgram {
version: WitnessVersion::V13,
program: program,
program,
},
network: Network::Bitcoin,
};