Skip to content

Commit cfb71aa

Browse files
committed
Address review
1 parent cef57f3 commit cfb71aa

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

dspec_tester.d

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,9 @@ auto untilClosingParentheses(R)(R rs)
3131
{
3232
struct State
3333
{
34-
size_t rightParensCount = 1;
34+
uint rightParensCount = 1;
3535
bool inCodeBlock;
36-
size_t dashCount;
36+
uint dashCount;
3737
}
3838
return rs.cumulativeFold!((state, r){
3939
if (r == '-')
@@ -44,7 +44,6 @@ auto untilClosingParentheses(R)(R rs)
4444
{
4545
if (state.dashCount >= 3)
4646
state.inCodeBlock = !state.inCodeBlock;
47-
4847
state.dashCount = 0;
4948
}
5049
switch(r)

0 commit comments

Comments
 (0)