Skip to content

Commit 0fb45da

Browse files
author
cht
committed
to pub(super)
1 parent a123257 commit 0fb45da

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/informations/render.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ use tui::{
66
widgets::{BarChart, Block, Borders},
77
Frame,
88
};
9-
pub fn ui<B: Backend>(f: &mut Frame<B>, app: &AppBar) {
9+
pub(super) fn ui<B: Backend>(f: &mut Frame<B>, app: &AppBar) {
1010
let chunks = Layout::default()
1111
.direction(Direction::Vertical)
1212
.margin(2)

src/informations/state.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ use crossterm::event::{self, Event, KeyCode};
22
use std::{io, time::Duration};
33

44
use crate::state::{Page, IFEXIT};
5-
pub fn information_state(timeout: Duration) -> io::Result<IFEXIT> {
5+
pub(super) fn information_state(timeout: Duration) -> io::Result<IFEXIT> {
66
if crossterm::event::poll(timeout)? {
77
if let Event::Key(key) = event::read()? {
88
match key.code {

0 commit comments

Comments
 (0)