-
Notifications
You must be signed in to change notification settings - Fork 13.5k
Use correct article in help message for conversion or cast #77278
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
Conversation
r? @estebank (rust_highfive has picked a reviewer for you, use r? to override) |
Before it always used `an`; now it uses the correct article for the type.
186893d
to
549f861
Compare
Also added missing backtick in "you can cast" message.
The wording for this kind of bothers me:
I think it might sound better as "if the converted value doesn't fit". I think "wouldn't" to me makes it sound like it's a compile-time thing, but it's not. Can I change it? EDIT: I changed it. Let me know if I should change it back. |
@estebank Could you re-review this sometime soon? It would be nice to get this in before the release. But if you're not able to soon, I understand! |
It felt too harsh to estebank and others to ICE even though it's technically a mistake to show a `TyKind::Error`.
looks good to me @bors r=estebank rollup |
📌 Commit 3eab21e has been approved by |
☀️ Test successful - checks-actions, checks-azure |
Before it always used
an
; now it uses the correct article for the type.