diff options
Diffstat (limited to 'src/commands/tab_switch.rs')
-rw-r--r-- | src/commands/tab_switch.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/commands/tab_switch.rs b/src/commands/tab_switch.rs index ef911f1..cc54f57 100644 --- a/src/commands/tab_switch.rs +++ b/src/commands/tab_switch.rs @@ -36,7 +36,7 @@ impl std::fmt::Display for TabSwitch { } impl JoshutoRunnable for TabSwitch { - fn execute(&self, context: &mut JoshutoContext, backend: &mut TuiBackend) -> JoshutoResult<()> { + fn execute(&self, context: &mut JoshutoContext, _: &mut TuiBackend) -> JoshutoResult<()> { let mut new_index = context.curr_tab_index as i32 + self.movement; let tab_len = context.tabs.len() as i32; while new_index < 0 { |