Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove unused method #557

Merged
merged 1 commit into from Jun 22, 2023
Merged

Remove unused method #557

merged 1 commit into from Jun 22, 2023

Conversation

ima1zumi
Copy link
Member

get_mbchar_byte_size_by_first_char isn't used in Reline.
Also, this method implements the same functionality as String#bytesize and is unnecessary.

`get_mbchar_byte_size_by_first_char` isn't used in Reline.
Also, this method implements the same functionality as `String#bytesize` and is unnecessary.
Copy link
Member

@st0012 st0012 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can't find it used anywhere on GH either. Great find 👍

@st0012 st0012 merged commit 7958678 into ruby:master Jun 22, 2023
30 checks passed
matzbot pushed a commit to ruby/ruby that referenced this pull request Jun 22, 2023
(ruby/reline#557)

`get_mbchar_byte_size_by_first_char` isn't used in Reline.
Also, this method implements the same functionality as `String#bytesize` and is unnecessary.
@ima1zumi ima1zumi deleted the remove-unused-method branch June 23, 2023 00:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants