Skip to content

Commit 1042dd6

Browse files
committed
is it the +=
1 parent 24333e8 commit 1042dd6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/bench-test.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -62,7 +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 += for_loop_count_in_file))
65+
((for_loop_count = for_loop_count + for_loop_count_in_file))
6666
done
6767
echo "for loop occurrences: $for_loop_count"
6868

0 commit comments

Comments
 (0)