Apply lint suggestion

This commit is contained in:
Andrew Morris
2023-03-01 08:39:02 +11:00
parent 0085b1e50e
commit f7f70bf89f

View File

@@ -629,7 +629,7 @@ impl FunctionCompiler {
full_captures.push(cap.clone());
for nested_caps in direct_captures_map.get(&cap) {
if let Some(nested_caps) = direct_captures_map.get(&cap) {
for nested_cap in nested_caps {
cap_queue
.add(nested_cap.clone())