Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
sungshik committed Sep 10, 2024
1 parent 9aa5552 commit 5514a53
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rascal-textmate-core/src/main/rascal/util/ListUtil.rsc
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,4 @@ list[&T] dupLast(list[&T] l) = reverse(dup(reverse(l))); // TODO: Optimize/avoid
}

bool isStrictPrefix(list[&T] l1, list[&T] l2)
= size(l1) < size(l2) && l1 == l2[..size(l2)];
= size(l1) < size(l2) && l1 == l2[..size(l1)];

0 comments on commit 5514a53

Please sign in to comment.