Drop an unused &mut

This commit is contained in:
Jun Wu committed 2020-01-20 13:58:21 -08:00
1 parent b5c3734f3d
commit dba0fdd94f
1 file changed
+1 -1
+1 -1
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
}