Skip to content

Commit d348824

Browse files
committed
other attempt
1 parent 1042dd6 commit d348824

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/bench-test.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ jobs:
6262
find . -type f -name '*.rs' | while read -r file; do
6363
echo "Checking $file"
6464
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))
6566
((for_loop_count = for_loop_count + for_loop_count_in_file))
6667
done
6768
echo "for loop occurrences: $for_loop_count"

0 commit comments

Comments
 (0)