Skip to content

Comments

refactor: use slices.Contains to simplify code#3062

Merged
zzzckck merged 1 commit intobnb-chain:developfrom
hardlydearly:develop
May 12, 2025
Merged

refactor: use slices.Contains to simplify code#3062
zzzckck merged 1 commit intobnb-chain:developfrom
hardlydearly:develop

Conversation

@hardlydearly
Copy link
Contributor

Description

There is a new function added in the go1.21 standard library, which can make the code more concise and easy to read.

Rationale

tell us why we need these changes...

Example

add an example CLI or API response...

Changes

Notable changes:

  • add each change in a bullet point here
  • ...

Signed-off-by: hardlydearly <799511800@qq.com>
@hardlydearly
Copy link
Contributor Author

Thanks for your approved.

@zzzckck zzzckck merged commit 70945db into bnb-chain:develop May 12, 2025
7 checks passed
galaio pushed a commit to galaio/bsc that referenced this pull request May 29, 2025
galaio pushed a commit to galaio/bsc that referenced this pull request May 29, 2025
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.

3 participants