Fix some typos in comments (#7169)

This PR fixes a couple typos I found in some comments/doc comments.

Release Notes:

- N/A
This commit is contained in:
Marshall Bowers
2024-01-31 16:21:33 -05:00
committed by GitHub
parent dcca48482b
commit a588a7dd4d
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -2310,7 +2310,7 @@ impl Editor {
let mut bracket_pair = None;
let mut is_bracket_pair_start = false;
if !text.is_empty() {
// `text` can be empty when an user is using IME (e.g. Chinese Wubi Simplified)
// `text` can be empty when a user is using IME (e.g. Chinese Wubi Simplified)
// and they are removing the character that triggered IME popup.
for (pair, enabled) in scope.brackets() {
if enabled && pair.close && pair.start.ends_with(text.as_ref()) {