Skip to content

Commit 4a23bb6

Browse files
committed
Remove redundant field names
Clippy emits: warning: redundant field names in struct initialization As suggested, remove redundant field names in struct initialization.
1 parent dbaf996 commit 4a23bb6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/util/address.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1086,7 +1086,7 @@ mod tests {
10861086
let addr = Address {
10871087
payload: Payload::WitnessProgram {
10881088
version: WitnessVersion::V13,
1089-
program: program,
1089+
program,
10901090
},
10911091
network: Network::Bitcoin,
10921092
};

0 commit comments

Comments
 (0)