summaryrefslogtreecommitdiffstats
path: root/openpgp/src/packet
diff options
context:
space:
mode:
authorNora Widdecke <nora@sequoia-pgp.org>2021-11-22 16:28:06 +0100
committerNora Widdecke <nora@sequoia-pgp.org>2021-11-29 11:53:55 +0100
commitb2ffb4401fad2f5c51f35d56a4408c23c10a3450 (patch)
treea5584f9024044a162a3850250d2269062a1c1cdd /openpgp/src/packet
parent8b272c162ce443e26c89afbda6fe4e06dd366118 (diff)
openpgp: Use functional update syntax.
- Instead of creating a default struct and immediately afterwards changing a field, use this type of initialization syntax: Struct { field: value, ..Default::default() }. - Suggested by clippy::field_reassign_with_default.
Diffstat (limited to 'openpgp/src/packet')
0 files changed, 0 insertions, 0 deletions