From 5bcb31a6dfb007b31b6ba38c5a1455727904ba27 Mon Sep 17 00:00:00 2001 From: Ivan Tham Date: Sun, 22 May 2022 00:25:20 +0800 Subject: Make Borders u8 --- helix-tui/src/widgets/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'helix-tui/src') diff --git a/helix-tui/src/widgets/mod.rs b/helix-tui/src/widgets/mod.rs index c0c3a994..8946ef05 100644 --- a/helix-tui/src/widgets/mod.rs +++ b/helix-tui/src/widgets/mod.rs @@ -28,7 +28,7 @@ use helix_view::graphics::Rect; bitflags! { /// Bitflags that can be composed to set the visible borders essentially on the block widget. #[derive(Default)] - pub struct Borders: u32 { + pub struct Borders: u8 { /// Show the top border const TOP = 0b0000_0001; /// Show the right border -- cgit v1.2.3-70-g09d2