-
Notifications
You must be signed in to change notification settings - Fork 13k
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
Add/improve num const docs #34277
Add/improve num const docs #34277
Conversation
This adds short summaries to all num consts.
It might be helpful to include an example of |
#[stable(feature = "rust1", since = "1.0.0")] | ||
pub const E: f32 = 2.71828182845904523536028747135266250_f32; | ||
|
||
/// log2(e) | ||
/// log<sub>2</sub>(e) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
log2? Nice! :D
Hey @ollie27 , sorry for the late review. I have one nit, and then this is good to go after! |
I've changed the description for |
@bors: r+ rollup Thanks! |
📌 Commit 2dcfa62 has been approved by |
Add/improve num const docs This adds short summaries to all num consts. r? @steveklabnik
Add/improve num const docs This adds short summaries to all num consts. r? @steveklabnik
Add/improve num const docs This adds short summaries to all num consts. r? @steveklabnik
This adds short summaries to all num consts.
r? @steveklabnik