Skip to content

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

Merged
merged 1 commit into from
Jul 1, 2015
Merged

doc: add example for Stdin::read_line #26627

merged 1 commit into from
Jul 1, 2015

Conversation

tshepang
Copy link
Member

No description provided.

@rust-highfive
Copy link
Contributor

r? @alexcrichton

(rust_highfive has picked a reviewer for you, use r? to override)

///
/// # Examples
///
/// ```
Copy link
Member

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.

@alexcrichton
Copy link
Member

@bors: r+ 19a51990603d7ca88677af6a8ad604c2dc385ae9

@bors
Copy link
Collaborator

bors commented Jun 28, 2015

⌛ Testing commit 19a5199 with merge 1320fc8...

@bors
Copy link
Collaborator

bors commented Jun 28, 2015

💔 Test failed - auto-win-gnu-64-opt

@alexcrichton
Copy link
Member

@bors: retry

@bors
Copy link
Collaborator

bors commented Jun 28, 2015

⌛ Testing commit 19a5199 with merge dd62ff9...

@bors
Copy link
Collaborator

bors commented Jun 28, 2015

💔 Test failed - auto-mac-64-opt

/// }
/// Err(error) => println!("error: {}", error),
/// }
///```
Copy link
Member

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

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

wow, so unforgiving :)

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixed

@steveklabnik
Copy link
Member

@bors: r+ rollup

@bors
Copy link
Collaborator

bors commented Jun 30, 2015

📌 Commit bc1b43c has been approved by steveklabnik

steveklabnik added a commit to steveklabnik/rust that referenced this pull request Jun 30, 2015
bors added a commit that referenced this pull request Jun 30, 2015
@bors bors merged commit bc1b43c into rust-lang:master Jul 1, 2015
@tshepang tshepang deleted the stdin-example branch July 1, 2015 14:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants