Skip to content

fix: Rename Label::ERROR.text().title() with Label::ERROR.with_name().title() #241

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 2 commits into from
Jul 2, 2025

Conversation

epage
Copy link
Contributor

@epage epage commented Jul 2, 2025

The goal for this is to make the intent clearer as text could be interpreted as the title's text (or message when we add that)

@epage epage changed the title fix: Rename Label::ERROR.text().title() with Label::ERROR.with_name().title() fix: Rename Label::ERROR.text().title() with Label::ERROR.with_name().title() Jul 2, 2025
@Muscraft Muscraft merged commit 1281562 into rust-lang:master Jul 2, 2025
15 checks passed
@epage epage deleted the message branch July 2, 2025 15:07
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