From 16ef1913ce3f740a8a08c8e047d321600ef04498 Mon Sep 17 00:00:00 2001 From: Max Verevkin Date: Tue, 12 Apr 2022 20:52:39 +0300 Subject: some renames --- src/bar_state.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') 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, -- cgit v1.3.1