refactor(server): remove unnecessary mut (#2735)
This commit is contained in:
parent
ac4085d1a4
commit
b65687660d
2 changed files with 2 additions and 2 deletions
|
|
@ -409,7 +409,7 @@ impl WasmBridge {
|
|||
});
|
||||
}
|
||||
}
|
||||
for (plugin_id, mut current_size) in self.cached_resizes_for_pending_plugins.iter_mut() {
|
||||
for (plugin_id, current_size) in self.cached_resizes_for_pending_plugins.iter_mut() {
|
||||
if *plugin_id == pid {
|
||||
current_size.0 = new_rows;
|
||||
current_size.1 = new_columns;
|
||||
|
|
|
|||
|
|
@ -1732,7 +1732,7 @@ impl Screen {
|
|||
if pane_to_break_is_floating {
|
||||
tab.show_floating_panes();
|
||||
tab.add_floating_pane(active_pane, active_pane_id, Some(client_id))?;
|
||||
if let Some(mut already_running_layout) = floating_panes_layout
|
||||
if let Some(already_running_layout) = floating_panes_layout
|
||||
.iter_mut()
|
||||
.find(|i| i.run == active_pane_run_instruction)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue