fix(warn): remove unnecessary mut (#922)

This commit is contained in:
a-kenji 2021-12-03 18:09:29 +01:00 committed by GitHub
parent db3d8a71a8
commit b727d105f3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -941,7 +941,7 @@ impl Tab {
pane_contents_and_ui pane_contents_and_ui
.render_pane_frame(*client_id, self.session_is_mirrored); .render_pane_frame(*client_id, self.session_is_mirrored);
} else { } else {
let mut boundaries = client_id_to_boundaries let boundaries = client_id_to_boundaries
.entry(*client_id) .entry(*client_id)
.or_insert_with(|| Boundaries::new(self.viewport)); .or_insert_with(|| Boundaries::new(self.viewport));
pane_contents_and_ui.render_pane_boundaries( pane_contents_and_ui.render_pane_boundaries(