Skip to content

Commit 05621eb

Browse files
committed
fix deprecated loop syntax
1 parent 2d29734 commit 05621eb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/fuzzy_match.mbt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ pub fn[Pattern : StringLike, Text : StringLike] is_match(
1010
) -> Bool {
1111
let mut pattern_idx = 0
1212
let mut text_idx = 0
13-
for {
13+
for ;; {
1414
if pattern_idx == pattern.length() {
1515
break true
1616
}

0 commit comments

Comments
 (0)