Skip to content

Commit

Permalink
Merge pull request #71 from vil02/failing_ci_patch
Browse files Browse the repository at this point in the history
Mark some fields as dead code
  • Loading branch information
deepu105 authored Dec 6, 2024
2 parents 08ac3eb + f31cfde commit 1d74347
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/app/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -104,11 +104,16 @@ pub struct App {
pub title: &'static str,
pub should_quit: bool,
pub main_tabs: TabsState,
#[allow(dead_code)]
pub is_loading: bool,
#[allow(dead_code)]
pub is_routing: bool,
#[allow(dead_code)]
pub tick_rate: u64,
pub size: Rect,
#[allow(dead_code)]
pub dialog: Option<String>,
#[allow(dead_code)]
pub confirm: bool,
pub light_theme: bool,
pub help_docs: StatefulTable<Vec<String>>,
Expand Down
1 change: 1 addition & 0 deletions src/event/events.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ use super::Key;
#[derive(Debug, Clone, Copy)]
/// Configuration for event handling.
pub struct EventConfig {
#[allow(dead_code)]
pub exit_key: Key,
/// The tick rate at which the application will sent an tick event.
pub tick_rate: Duration,
Expand Down

0 comments on commit 1d74347

Please sign in to comment.