From 6501bf235809d83a28d68471b7721ece0fb70bff Mon Sep 17 00:00:00 2001 From: Max Verevkin Date: Tue, 12 Apr 2022 20:51:55 +0300 Subject: fix short text --- src/i3bar_protocol.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/i3bar_protocol.rs') diff --git a/src/i3bar_protocol.rs b/src/i3bar_protocol.rs index 891fba6..04595be 100644 --- a/src/i3bar_protocol.rs +++ b/src/i3bar_protocol.rs @@ -6,7 +6,7 @@ use serde::Deserialize; use serde::Serialize; use std::io::{Error, ErrorKind, Result}; -#[derive(Clone, Deserialize, Default)] +#[derive(Clone, Deserialize, Default, Debug)] pub struct Block { pub full_text: String, #[serde(default)] @@ -39,7 +39,7 @@ fn def_sep_width() -> u8 { 9 } -#[derive(Deserialize, Clone, PartialEq, Eq)] +#[derive(Deserialize, Clone, Debug, PartialEq, Eq)] #[serde(untagged)] pub enum MinWidth { Text(String), -- cgit v1.3.1