Skip to content

Replace some Symbol::as_str usage #14679

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

Merged
merged 1 commit into from
Apr 27, 2025
Merged

Conversation

Alexendoo
Copy link
Member

Follow up to #14650

Replaces uses in the form s.as_str() == "literal"

r? @y21

changelog: none

@rustbot rustbot added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties label Apr 23, 2025
Copy link
Member

@y21 y21 left a comment

Choose a reason for hiding this comment

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

Looks good, one small optional comment/suggestion

@Alexendoo Alexendoo added the performance-project For issues and PRs related to the Clippy Performance Project label Apr 26, 2025
@y21 y21 added this pull request to the merge queue Apr 27, 2025
Merged via the queue into rust-lang:master with commit 0dd9722 Apr 27, 2025
11 checks passed
@Alexendoo Alexendoo deleted the symbol-as-str branch April 27, 2025 13:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
performance-project For issues and PRs related to the Clippy Performance Project S-waiting-on-review Status: Awaiting review from the assignee but also interested parties
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants