From: Kostya Shishkov Date: Mon, 31 Aug 2020 12:05:10 +0000 (+0200) Subject: core/formats: fix displayed NASoniton information X-Git-Url: https://git.nihav.org/?p=nihav.git;a=commitdiff_plain;h=8ea7e3064452b84ba3428de3c6f88b834a66b78c core/formats: fix displayed NASoniton information --- diff --git a/nihav-core/src/formats.rs b/nihav-core/src/formats.rs index 586fa6f..ffacb12 100644 --- a/nihav-core/src/formats.rs +++ b/nihav-core/src/formats.rs @@ -114,7 +114,7 @@ impl fmt::Display for NASoniton { fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { let fmt = if self.float { "float" } else if self.signed { "int" } else { "uint" }; let end = if self.be { "BE" } else { "LE" }; - write!(f, "({} bps, {} planar: {} packed: {} {})", self.bits, end, self.packed, self.planar, fmt) + write!(f, "({} bps, {} planar: {} packed: {} {})", self.bits, end, self.planar, self.packed, fmt) } }