diff options
Diffstat (limited to 'src/output/render/blocks.rs')
-rw-r--r-- | src/output/render/blocks.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/output/render/blocks.rs b/src/output/render/blocks.rs index 8df019f..97e2e8d 100644 --- a/src/output/render/blocks.rs +++ b/src/output/render/blocks.rs @@ -7,8 +7,8 @@ use crate::fs::fields as f; impl f::Blocks { pub fn render<C: Colours>(&self, colours: &C) -> TextCell { match *self { - f::Blocks::Some(ref blk) => TextCell::paint(colours.block_count(), blk.to_string()), - f::Blocks::None => TextCell::blank(colours.no_blocks()), + Self::Some(ref blk) => TextCell::paint(colours.block_count(), blk.to_string()), + Self::None => TextCell::blank(colours.no_blocks()), } } } |