Moving this work into a separate change so that it does not pollute other diffs. Nothing major, but it is still important to keep the repository in compliance with rustfmt
style.
Y6TBQN7MFWX4SKJM2UGDGR4UMMDEO4TPNNJZKZWHEBTW7MPX4WWQC
WFBYDQB4WFU4EHL4EOQHZT5MPAKOJU4ITJJ4XW5TKG2552PCYQDQC
7P7G4J5ZT4S5BP6VAN226Z7CRZXEEVO5YHJ6IFMW27NHBR5TDJRAC
2TWWWCU4C3DLAECGKC43PYYVWC6DABSGKVXI25QZO5INZHVBZ5LAC
QY4E6CLE6MFO6GGT5XVCPMGJQK22W4FZNLWRZKVMYYPOMAAZUX4AC
MDY344ZZLCKXHA7VGJJYLNPCLHPI3I3LFODUYBPBH32SQ3SOOFIAC
QSTVUSKXAEHSKFB4RKSLGWVK6TGRPT64ORQFAL7E3SVO4GMCVDWQC
STOFOQI47HS22EDKDFUFF4Z5NNZ6MXJFXETEZSITTOD7OYTETB2AC
7GQGVFEANEFOA2S5BVH5SVFLJKSJ3TLYWAEJGIX2TPASFHXGS4JAC
BV4PLHOVPSA5UKF43TL6EC57I7XHYWKZWV6LXI7YTGS2K3SQMY2AC
4KJ45IJLTIE35KQZUSFMFS67RNENG4P2FZMKMULJLGGYMKJUVRSQC
4OJWMSOWWNT5N4W4FDMKBZB5UARCLGV3SRZVKGR4EFAYFUMUHM7AC
UMF6N7CZA4CTSPKQFZSZXA3VRHWQAKEA5GUNIEAAVRWC7FUSSKAAC
KWD6K4F73WZGP7GZLKZHXF7364QNCVNFWEYCCLFPQINMLPZBTWAQC
YV63XF6Z3S3GJKCOXPOLFRR7E5JH3QX6PIWXDMFFDTOOUXGOBWNQC
QL6K2ZM35B3NIXEMMCJWUSFXOBQHAGXRDMO7ID5DCKTJH4QJVY7QC
I24UEJQLCH2SOXA4UHIYWTRDCHSOPU7AFTRUOTX7HZIAV4AZKYEQC
SXEYMYF7P4RZMZ46WPL4IZUTSQ2ATBWYZX7QNVMS3SGOYXYOHAGQC
LJFJEX43HDS33O5HCRXH7AR3GTQZDHNWHEQBOERDNPNXR3B3XZ3QC
UAXGGNAZFUQX2XTVNITFZG54E2W5V4RKJUGEKN7WD2HDLVT5QG6QC
OU6JOR3CDZTH2H3NTGMV3WDIAWPD3VEJI7JRY3VJ7LPDR3QOA52QC
U6TQX5Z2NF6GX3SRLUBQGCZ7WAXNYMWWZ2YMADUSG4EWVKNV2BIAC
IKZBGTGQ7GJMRPYJPLL66DMND6J2JBP6I23U4GGCB5CMDG4FUHLAC
VWJ2JL63I5OYZ2HS3N4EKM5TW7HRAF5U3OAHDQIVZINIO73IAE7AC
LZOGKBJXRQJKXHYNNENJFGNLP5SHIXGSV6HDB7UVOP7FSA5EUNCQC
6ARU5AQ7GNBGDDRDOSPINGDO6V6RMF3UIJ2EKVJQREZ7DWQF2OXQC
OutputFormat::Json => {
serde_json::to_writer_pretty(&mut stdout, &log_iter)?
OutputFormat::Json => serde_json::to_writer_pretty(&mut stdout, &log_iter)?,
OutputFormat::Plaintext => {
log_iter.for_each(|entry| match write!(&mut stdout, "{}", entry) {
Ok(_) => Ok(()),
Err(e) if e.kind() == std::io::ErrorKind::BrokenPipe => Ok(()),
Err(e) => Err(e),
})?