We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1042dd6 commit d348824Copy full SHA for d348824
.github/workflows/bench-test.yaml
@@ -62,6 +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_in_file=$((for_loop_count_in_file + 0))
66
((for_loop_count = for_loop_count + for_loop_count_in_file))
67
done
68
echo "for loop occurrences: $for_loop_count"
0 commit comments