File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1188,7 +1188,7 @@ def retrieve_completion_block
1188
1188
quote_characters = Reline . completer_quote_characters
1189
1189
before = current_line . byteslice ( 0 , @byte_pointer ) . grapheme_clusters
1190
1190
quote = nil
1191
- # Calcualte closing quote when cursor is at the end of the line
1191
+ # Calculate closing quote when cursor is at the end of the line
1192
1192
if current_line . bytesize == @byte_pointer && !quote_characters . empty?
1193
1193
escaped = false
1194
1194
before . each do |c |
Original file line number Diff line number Diff line change @@ -61,7 +61,7 @@ def self.safe_encode(str, encoding)
61
61
62
62
# This code is essentially doing the same thing as
63
63
# `str.encode(utf8, **replace_options).encode(encoding, **replace_options)`
64
- # but also avoids unneccesary irreversible encoding conversion.
64
+ # but also avoids unnecessary irreversible encoding conversion.
65
65
converted . gsub ( /\X / ) do |c |
66
66
c . encode ( Encoding ::UTF_8 )
67
67
c
You can’t perform that action at this time.
0 commit comments