chore: add comment

pull/12494/head
Nikita Revenco 2025-01-11 16:53:49 +00:00
parent 0e5c160a47
commit b8e1621538
1 changed files with 1 additions and 1 deletions

View File

@ -178,7 +178,7 @@ pub fn find_nth_pairs_pos(
if Some(open) == text.get_char(pos) {
// Cursor is directly on match character for which the opening and closing pairs are the same. For instance: ", ', `
//
// This is potentially ambiguous
// This is potentially ambiguous, because there's no way to know which side of the char we should be searching on.
syntax
.map_or_else(
|| match_brackets::find_matching_bracket_plaintext(text.slice(..), pos),