From 8ea7e3064452b84ba3428de3c6f88b834a66b78c Mon Sep 17 00:00:00 2001 From: Kostya Shishkov Date: Mon, 31 Aug 2020 14:05:10 +0200 Subject: [PATCH] core/formats: fix displayed NASoniton information --- nihav-core/src/formats.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) } } -- 2.39.5