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:
parent
0f8f4c5609
commit
242c640603
|
@ -1086,7 +1086,7 @@ mod tests {
|
|||
let addr = Address {
|
||||
payload: Payload::WitnessProgram {
|
||||
version: WitnessVersion::V13,
|
||||
program: program,
|
||||
program,
|
||||
},
|
||||
network: Network::Bitcoin,
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue