Skip to content

Commit aa8109a

Browse files
committed
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.
1 parent d1a0540 commit aa8109a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/util/psbt/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -579,8 +579,8 @@ mod tests {
579579
}],
580580
outputs: vec![Output {
581581
bip32_derivation: keypaths,
582-
proprietary: proprietary,
583-
unknown: unknown,
582+
proprietary,
583+
unknown,
584584
..Default::default()
585585
}],
586586
};

0 commit comments

Comments
 (0)