Skip to content

Use each instead of each_with_index - #4641

Merged
daipom merged 1 commit into
fluent:masterfrom
kenhys:replace-each-with-index
Sep 24, 2024
Merged

Use each instead of each_with_index#4641
daipom merged 1 commit into
fluent:masterfrom
kenhys:replace-each-with-index

Conversation

@kenhys

@kenhys kenhys commented Sep 20, 2024

Copy link
Copy Markdown
Contributor

Which issue(s) this PR fixes:

Fixes #

What this PR does / why we need it:

It is trivial, but apparently index is not used at all in this method.

It does not change internal logic at all.

Docs Changes:

N/A

Release Note:

N/A

It is trivial, but apparently index is not used at all in this method.

Signed-off-by: Kentaro Hayashi <hayashi@clear-code.com>
@kenhys
kenhys force-pushed the replace-each-with-index branch from d4d9e22 to 1d2d219 Compare September 20, 2024 06:11
@kenhys

kenhys commented Sep 20, 2024

Copy link
Copy Markdown
Contributor Author

This code is not changed since 2014...

@daipom daipom left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM. Thanks!
Waiting CI.

@daipom daipom added this to the v1.18.0 milestone Sep 20, 2024
@daipom
daipom merged commit b5fc93f into fluent:master Sep 24, 2024
@kenhys
kenhys deleted the replace-each-with-index branch December 26, 2024 05:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants