remove unneeded mut ref
This commit is contained in:
parent
d4e6bfa05c
commit
063ef47a27
@ -362,7 +362,7 @@ impl FutureMoves {
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
m.is_trimmed = true;
|
m.is_trimmed = true;
|
||||||
m.sort_children(&mut self.arena);
|
m.sort_children(&self.arena);
|
||||||
if m.children.len() > self.config.top_k_children {
|
if m.children.len() > self.config.top_k_children {
|
||||||
let drained = m.children.drain(self.config.top_k_children..);
|
let drained = m.children.drain(self.config.top_k_children..);
|
||||||
for idx in drained {
|
for idx in drained {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user