slight improvement to packed size display

This commit is contained in:
2022-07-23 00:30:14 +02:00
parent e4579d81bc
commit 465e66ff4b

View File

@@ -167,7 +167,8 @@ fn load_cart(filename: &Path, config: &Config) -> (Result<Vec<u8>>, Vec<PathBuf>
if let Some(ref pack_config) = config.pack {
cart = uw8_tool::pack(&cart, pack_config)?;
println!(
"\npacked size: {:.2} bytes",
"\npacked size: {} bytes ({:.2})",
cart.len(),
uw8_tool::compressed_size(&cart)
);
}