diff options
author | Stephan Dilly <dilly.stephan@gmail.com> | 2021-06-07 22:57:27 +0200 |
---|---|---|
committer | Stephan Dilly <dilly.stephan@gmail.com> | 2021-06-07 22:57:27 +0200 |
commit | 7058ab14d3ad1b8f3fffe2bc2a52729127eb1bef (patch) | |
tree | 79668a3ce7b6f7f526687c11b0d0ce7c40835623 /src/tabs/stashing.rs | |
parent | ab5b29e0eeec955f31b3fb5334d3c4cf211c16ad (diff) |
abstract queue into custom type
Diffstat (limited to 'src/tabs/stashing.rs')
-rw-r--r-- | src/tabs/stashing.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/tabs/stashing.rs b/src/tabs/stashing.rs index 97b0647b..2479b8bc 100644 --- a/src/tabs/stashing.rs +++ b/src/tabs/stashing.rs @@ -221,9 +221,9 @@ impl Component for Stashing { return if k == self.key_config.stashing_save && !self.index.is_empty() { - self.queue.borrow_mut().push_back( - InternalEvent::PopupStashing(self.options), - ); + self.queue.push(InternalEvent::PopupStashing( + self.options, + )); Ok(EventState::Consumed) } else if k == self.key_config.stashing_toggle_index { |