-
Notifications
You must be signed in to change notification settings - Fork 13.3k
doc: add example for Stdin::read_line #26627
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
(rust_highfive has picked a reviewer for you, use r? to override) |
/// | ||
/// # Examples | ||
/// | ||
/// ``` |
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.
This should be tagged no_run
as we probably don't want to run it during doctests.
@bors: r+ 19a51990603d7ca88677af6a8ad604c2dc385ae9 |
⌛ Testing commit 19a5199 with merge 1320fc8... |
💔 Test failed - auto-win-gnu-64-opt |
@bors: retry |
⌛ Testing commit 19a5199 with merge dd62ff9... |
💔 Test failed - auto-mac-64-opt |
/// } | ||
/// Err(error) => println!("error: {}", error), | ||
/// } | ||
///``` |
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.
need a space between ///
and the backticks
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.
wow, so unforgiving :)
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.
fixed
@bors: r+ rollup |
📌 Commit bc1b43c has been approved by |
No description provided.