change println to writeln (#14)

This commit is contained in:
gubsheep 2025-02-03 08:08:13 -05:00 committed by GitHub
parent 62a140569e
commit bf2fa090a3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View file

@ -337,7 +337,7 @@ impl Printer {
pub fn fmt_signed_pod(&self, w: &mut dyn Write, pod: &SignedPod) -> io::Result<()> {
writeln!(w, "SignedPod (id:{}):", pod.id)?;
for (k, v) in pod.kvs.iter().sorted_by_key(|kv| kv.0) {
println!(" - {}: {}", k, v);
writeln!(w, " - {}: {}", k, v)?;
}
Ok(())
}