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
11881188 quote_characters = Reline . completer_quote_characters
11891189 before = current_line . byteslice ( 0 , @byte_pointer ) . grapheme_clusters
11901190 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
11921192 if current_line . bytesize == @byte_pointer && !quote_characters . empty?
11931193 escaped = false
11941194 before . each do |c |
Original file line number Diff line number Diff line change @@ -61,7 +61,7 @@ def self.safe_encode(str, encoding)
6161
6262 # This code is essentially doing the same thing as
6363 # `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.
6565 converted . gsub ( /\X / ) do |c |
6666 c . encode ( Encoding ::UTF_8 )
6767 c
You can’t perform that action at this time.
0 commit comments