-
Notifications
You must be signed in to change notification settings - Fork 13.7k
Documenting libcore/char.rs #21567
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
Documenting libcore/char.rs #21567
Conversation
(rust_highfive has picked a reviewer for you, use r? to override) |
/// ``` | ||
/// use std::char; | ||
/// | ||
/// let c = char::from_digit(4, 10); |
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.
Perhaps add assert_eq!(c, '4')
?
r=me with nits, nice! |
/// assert_eq!(heart, "\\u{2764}"); | ||
/// ``` | ||
/// | ||
/// Note the extra `\` on the right hand side, so that we don't end up interpolating the |
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.
s/right hand/right-hand/
1d4ec84
to
46f609a
Compare
@alexcrichton @apasel422 rebased and re-incorporated. alex said r=me but I'd still like someone to double check other than me 😄 |
/// " | ||
/// ``` | ||
/// | ||
/// Collecting to a `String`: |
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.
On line 220 you have "Collecting into a String
."
46f609a
to
fcf1a57
Compare
@bors: rollup |
No description provided.