Remove unnecessary move
in PaneGrid::new
This commit is contained in:
parent
d6d5cf0294
commit
3b2ed0d6f0
@ -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()
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user