1
0
Fork 0
mirror of https://codeberg.org/icewind/vbsp.git synced 2026-06-03 18:54:05 +02:00

clippy fix

This commit is contained in:
Robin Appelman 2023-12-19 19:08:05 +01:00
commit 8e2bf62a2e

View file

@ -467,7 +467,7 @@ impl Bsp {
self.nodes self.nodes
.iter() .iter()
.flat_map(|node| node.children) .flat_map(|node| node.children)
.filter_map(|index| (index >= 0).then_some(index)), .filter(|index| *index >= 0),
&self.nodes, &self.nodes,
"node", "node",
"node", "node",