diff options
| author | Max Verevkin <maxxverrr@gmail.com> | 2022-04-12 20:51:55 +0300 |
|---|---|---|
| committer | Max Verevkin <maxxverrr@gmail.com> | 2022-04-12 20:51:55 +0300 |
| commit | 6501bf235809d83a28d68471b7721ece0fb70bff (patch) | |
| tree | e32573712d24389fe5169b5ae859563f24dfd112 /src/i3bar_protocol.rs | |
| parent | dcc20f7aca51a4ca1f47c15730a1c9e9d8dfdfc7 (diff) | |
| download | i3bar-mango-6501bf235809d83a28d68471b7721ece0fb70bff.tar.gz | |
fix short text
Diffstat (limited to 'src/i3bar_protocol.rs')
| -rw-r--r-- | src/i3bar_protocol.rs | 4 |
1 files changed, 2 insertions, 2 deletions
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), |
