diff options
| author | Max Verevkin <maxxverrr@gmail.com> | 2022-04-12 20:52:39 +0300 |
|---|---|---|
| committer | Max Verevkin <maxxverrr@gmail.com> | 2022-04-12 20:52:39 +0300 |
| commit | 16ef1913ce3f740a8a08c8e047d321600ef04498 (patch) | |
| tree | 6888ea5223362b5ea0962ce906de8902503bbba0 /src/bar_state.rs | |
| parent | 6501bf235809d83a28d68471b7721ece0fb70bff (diff) | |
| download | i3bar-mango-16ef1913ce3f740a8a08c8e047d321600ef04498.tar.gz | |
some renames
Diffstat (limited to 'src/bar_state.rs')
| -rw-r--r-- | src/bar_state.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bar_state.rs b/src/bar_state.rs index ec26efc..2cbb677 100644 --- a/src/bar_state.rs +++ b/src/bar_state.rs @@ -536,7 +536,7 @@ fn render_blocks( } #[derive(Debug)] - struct BlockSeries<'a> { + struct LogialBlock<'a> { blocks: Vec<(&'a ComputedBlock, bool)>, delta: f64, separator: bool, @@ -556,7 +556,7 @@ fn render_blocks( s_end += 1; } - let mut series = BlockSeries { + let mut series = LogialBlock { blocks: Vec::with_capacity(s_end - s_start), delta: 0.0, separator: blocks[s_end - 1].separator, |
