From b5156b645f46f695a73e92fc1b4679b35b3e335a Mon Sep 17 00:00:00 2001 From: bad Date: Fri, 19 Aug 2022 15:53:40 +0200 Subject: [PATCH] Fix signature serialization --- src/narinfo/to_str.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/narinfo/to_str.rs b/src/narinfo/to_str.rs index edea976..70a1ba6 100644 --- a/src/narinfo/to_str.rs +++ b/src/narinfo/to_str.rs @@ -17,8 +17,8 @@ impl<'a> NarInfo<'a> { write!(w, "\nNarSize: {}", self.nar_size)?; write!(w, "\nReferences: {}", self.references.join(" "))?; - write!(w, "\nSig: ")?; for sig in self.sigs.iter() { + write!(w, "\nSig: ")?; sig.serialize_into(w)?; }