We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 24333e8 commit 1042dd6Copy full SHA for 1042dd6
.github/workflows/bench-test.yaml
@@ -62,7 +62,7 @@ jobs:
62
find . -type f -name '*.rs' | while read -r file; do
63
echo "Checking $file"
64
echo "Count in file: $(grep -oE 'for\s+(\([^)]+\)|\w+)\s+in\s+[^{]+' "$file" | wc -l)"
65
- ((for_loop_count += for_loop_count_in_file))
+ ((for_loop_count = for_loop_count + for_loop_count_in_file))
66
done
67
echo "for loop occurrences: $for_loop_count"
68
0 commit comments