diff options
author | Varun Dhand <110025628+varundhand@users.noreply.github.com> | 2023-11-01 18:57:32 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-01 13:27:32 +0000 |
commit | 364d11f15f6025b1bfb8bccb548b70a35239331d (patch) | |
tree | dfd02cf205fb1f013b5818a5de0bd1ede0331f97 /components/script/textinput.rs | |
parent | 6c4f098d41e951a76e0dd480933bfa503fcb2e01 (diff) | |
download | servo-364d11f15f6025b1bfb8bccb548b70a35239331d.tar.gz servo-364d11f15f6025b1bfb8bccb548b70a35239331d.zip |
Update textinput.rs (#30643)
Diffstat (limited to 'components/script/textinput.rs')
-rw-r--r-- | components/script/textinput.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/components/script/textinput.rs b/components/script/textinput.rs index 758d620badd..520e4d122fb 100644 --- a/components/script/textinput.rs +++ b/components/script/textinput.rs @@ -486,7 +486,7 @@ impl<T: ClipboardProvider> TextInput<T> { vec![DOMString::from(to_insert)] }; - // FIXME(ajeffrey): effecient append for DOMStrings + // FIXME(ajeffrey): efficient append for DOMStrings let mut new_line = prefix.to_owned(); new_line.push_str(&insert_lines[0]); @@ -496,7 +496,7 @@ impl<T: ClipboardProvider> TextInput<T> { self.edit_point.index = insert_lines[last_insert_lines_index].len_utf8(); self.edit_point.line = start.line + last_insert_lines_index; - // FIXME(ajeffrey): effecient append for DOMStrings + // FIXME(ajeffrey): efficient append for DOMStrings insert_lines[last_insert_lines_index].push_str(suffix); let mut new_lines = vec![]; |