summaryrefslogtreecommitdiffstats
path: root/openpgp/src/packet/signature/subpacket.rs
diff options
context:
space:
mode:
Diffstat (limited to 'openpgp/src/packet/signature/subpacket.rs')
-rw-r--r--openpgp/src/packet/signature/subpacket.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/openpgp/src/packet/signature/subpacket.rs b/openpgp/src/packet/signature/subpacket.rs
index f71647d5..558d3f9c 100644
--- a/openpgp/src/packet/signature/subpacket.rs
+++ b/openpgp/src/packet/signature/subpacket.rs
@@ -6869,7 +6869,7 @@ impl signature::SignatureBuilder {
where T: AsRef<[Fingerprint]>
{
self.hashed_area.remove_all(SubpacketTag::IntendedRecipient);
- for fp in recipients.as_ref().into_iter() {
+ for fp in recipients.as_ref().iter() {
self.hashed_area.add(
Subpacket::new(SubpacketValue::IntendedRecipient(fp.clone()), false)?)?;
}