From 8cc2e5c60323a059d257c58f89dbcf95c9adfa90 Mon Sep 17 00:00:00 2001 From: ydah Date: Sun, 22 Dec 2024 19:37:56 +0900 Subject: [PATCH] s/unneccesary/unnecessary/ --- lib/reline/unicode.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/reline/unicode.rb b/lib/reline/unicode.rb index ab7708a5fe..5ccd288da3 100644 --- a/lib/reline/unicode.rb +++ b/lib/reline/unicode.rb @@ -61,7 +61,7 @@ def self.safe_encode(str, encoding) # This code is essentially doing the same thing as # `str.encode(utf8, **replace_options).encode(encoding, **replace_options)` - # but also avoids unneccesary irreversible encoding conversion. + # but also avoids unnecessary irreversible encoding conversion. converted.gsub(/\X/) do |c| c.encode(Encoding::UTF_8) c