1
1
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:
Jun Wu 2020-01-20 13:55:18 -08:00
parent b5c3734f3d
commit dba0fdd94f

View File

@ -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
}