Skip to content

Commit 61600f9

Browse files
committed
api: Make ProportionalBar::display_level* private
1 parent 94a3df5 commit 61600f9

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/visualizer/proportion_bar.rs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,23 +30,23 @@ pub struct ProportionBar {
3030
}
3131

3232
impl ProportionBar {
33-
pub fn display_level0(self) -> impl Display {
33+
fn display_level0(self) -> impl Display {
3434
repeat(LEVEL0_BLOCK, self.level0)
3535
}
3636

37-
pub fn display_level1(self) -> impl Display {
37+
fn display_level1(self) -> impl Display {
3838
repeat(LEVEL1_BLOCK, self.level1)
3939
}
4040

41-
pub fn display_level2(self) -> impl Display {
41+
fn display_level2(self) -> impl Display {
4242
repeat(LEVEL2_BLOCK, self.level2)
4343
}
4444

45-
pub fn display_level3(self) -> impl Display {
45+
fn display_level3(self) -> impl Display {
4646
repeat(LEVEL3_BLOCK, self.level3)
4747
}
4848

49-
pub fn display_level4(self) -> impl Display {
49+
fn display_level4(self) -> impl Display {
5050
repeat(LEVEL4_BLOCK, self.level4)
5151
}
5252

0 commit comments

Comments
 (0)