mirror of
https://github.com/wez/wezterm.git
synced 2024-11-27 12:23:46 +03:00
Drop an unused &mut
This commit is contained in:
parent
b5c3734f3d
commit
dba0fdd94f
@ -2330,7 +2330,7 @@ impl TermWindow {
|
||||
RefMut::map(self.tab_state(tab_id), |state| &mut state.selection)
|
||||
}
|
||||
|
||||
fn get_viewport(&mut self, tab_id: TabId) -> Option<StableRowIndex> {
|
||||
fn get_viewport(&self, tab_id: TabId) -> Option<StableRowIndex> {
|
||||
self.tab_state(tab_id).viewport
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user