aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIvan Tham2022-05-21 16:25:20 +0000
committerBlaž Hrastnik2022-05-22 01:26:32 +0000
commit5bcb31a6dfb007b31b6ba38c5a1455727904ba27 (patch)
treef13d3e86d9cc5d73afef58e3ab83ed5e464cf9f3
parent1837b5e4a61f0230b3cd382ed487fa09be7b2b68 (diff)
Make Borders u8
-rw-r--r--helix-tui/src/widgets/mod.rs2
1 files changed, 1 insertions, 1 deletions
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