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

doc: use U+2212 for minus sign in integer MIN/MAX text #90777

Closed
wants to merge 1 commit into from

Conversation

tspiteri
Copy link
Contributor

No description provided.

@rust-highfive
Copy link
Collaborator

r? @joshtriplett

(rust-highfive has picked a reviewer for you, use r? to override)

@rust-highfive rust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Nov 10, 2021
@joshtriplett
Copy link
Member

I don't think we want to do this. In Rust, negative numbers are expressed using U+002D HYPHEN-MINUS, and our documentation should be consistent with Rust code, rather than using a confusingly similar symbol.

@tspiteri
Copy link
Contributor Author

@joshtriplett But this is in text, not in code, right next to for example 231 which cannot be written in code either. There are plenty of examples in the documentation where this is done, for example for NEG_INFINITY.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
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