mirror of
https://github.com/voltrevo/ValueScript.git
synced 2026-04-18 03:00:27 -04:00
Apply lint suggestion
This commit is contained in:
@@ -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())
|
||||
|
||||
Reference in New Issue
Block a user