Remove unnecessary move in PaneGrid::new

This commit is contained in:
Héctor Ramón Jiménez 2020-11-10 03:18:46 +01:00
parent d6d5cf0294
commit 3b2ed0d6f0

View File

@ -117,7 +117,7 @@ where
state
.panes
.iter_mut()
.map(move |(pane, pane_state)| (*pane, view(*pane, pane_state)))
.map(|(pane, pane_state)| (*pane, view(*pane, pane_state)))
.collect()
};