Skip to content

Commit 8ee1415

Browse files
Update strings/z_function.cpp
Co-authored-by: David Leal <[email protected]>
1 parent 02aae78 commit 8ee1415

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

strings/z_function.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ static void test() {
7373
std::string text1 = "alskfjaldsabc1abc1abcbksbcdnsdabcabc";
7474
std::string pattern1 = "abc";
7575

76-
// matching_indexes1 gets the indexes where pattern1 exists in text1
76+
// matching_indexes1 gets the indexes where pattern1 exists in text1
7777
std::vector<uint64_t> matching_indexes1 = find_pat_in_text(pattern1, text1);
7878
assert((matching_indexes1 == std::vector<uint64_t>{10, 14, 18, 30, 33}));
7979

0 commit comments

Comments
 (0)