refactor: replace sequenceOf() with emptySequence() for clarity
This commit is contained in:
parent
ac1d5da01b
commit
7ae97961b2
1 changed files with 1 additions and 1 deletions
|
@ -58,7 +58,7 @@ class AndThenItem(val left: RegexItem, val right: RegexItem) : RegexItem {
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
// If right match fails, return an empty sequence
|
// If right match fails, return an empty sequence
|
||||||
sequenceOf()
|
emptySequence()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
|
Loading…
Add table
Reference in a new issue