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

Use cow_to_ascii_uppercase instead #4124

Merged
merged 2 commits into from
Jan 14, 2025
Merged

Use cow_to_ascii_uppercase instead #4124

merged 2 commits into from
Jan 14, 2025

Conversation

heygsc
Copy link
Contributor

@heygsc heygsc commented Jan 12, 2025

This Pull Request is part of #4123.

https://rust-lang.github.io/rust-clippy/master/index.html#disallowed_methods

If this PR can be merged, I will continue to use more cow methods in clippy.

@heygsc heygsc changed the title Use cow_to_ascii_lowercase instead Use cow_to_ascii_uppercase instead Jan 12, 2025
@hansl
Copy link
Contributor

hansl commented Jan 13, 2025

Good work! Approved.

@hansl hansl requested a review from a team January 13, 2025 18:36
Copy link

codecov bot commented Jan 13, 2025

Codecov Report

Attention: Patch coverage is 0% with 1 line in your changes missing coverage. Please review.

Project coverage is 53.79%. Comparing base (6ddc2b4) to head (5836767).
Report is 342 commits behind head on main.

Files with missing lines Patch % Lines
core/engine/src/builtins/temporal/time_zone/mod.rs 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #4124      +/-   ##
==========================================
+ Coverage   47.24%   53.79%   +6.55%     
==========================================
  Files         476      485       +9     
  Lines       46892    48396    +1504     
==========================================
+ Hits        22154    26037    +3883     
+ Misses      24738    22359    -2379     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Member

@jedel1043 jedel1043 left a comment

Choose a reason for hiding this comment

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

Small suggestion to fix the styling. Aside from that, it looks good!

clippy.toml Outdated Show resolved Hide resolved
Co-authored-by: José Julián Espina <[email protected]>
@heygsc heygsc requested a review from jedel1043 January 14, 2025 01:46
@heygsc
Copy link
Contributor Author

heygsc commented Jan 14, 2025

Small suggestion to fix the styling. Aside from that, it looks good!

Okay, I've made the changes.

@jedel1043 jedel1043 enabled auto-merge January 14, 2025 02:06
@jedel1043 jedel1043 added this pull request to the merge queue Jan 14, 2025
Merged via the queue into boa-dev:main with commit 3008f1d Jan 14, 2025
14 checks passed
heygsc pushed a commit to heygsc/boa that referenced this pull request Jan 14, 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