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

Remove incorrect example from docs #24167

Merged
merged 2 commits into from
Apr 8, 2015
Merged

Remove incorrect example from docs #24167

merged 2 commits into from
Apr 8, 2015

Conversation

hauleth
Copy link
Contributor

@hauleth hauleth commented Apr 7, 2015

As beta is now released and is "suggested" version of rustc then there should be no code (in documentation) that will not compile with final (stable) API. This one does not (I'm really counting days till old_io and old_path will be removed for good).

So according to this great talk, I am doing what should be done.

@rust-highfive
Copy link
Collaborator

Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @huonw (or someone else) soon.

If any changes to this PR are deemed necessary, please add them as extra commits. This ensures that the reviewer can see what has changed since they last reviewed the code. The way Github handles out-of-date commits, this should also make it reasonably obvious what issues have or haven't been addressed. Large or tricky changes may require several passes of review and changes.

Please see CONTRIBUTING.md for more information.

@steveklabnik
Copy link
Member

Hey @hauleth !

We're not generally purging everything that doesn't work on beta, but you're right in that this functionality is gone, and isn't coming back any time soon. So 👍 to removing it. Thank you!

@steveklabnik
Copy link
Member

@bors: r+ rollup

@bors
Copy link
Contributor

bors commented Apr 7, 2015

📌 Commit 4cf5930 has been approved by steveklabnik

@hauleth
Copy link
Contributor Author

hauleth commented Apr 7, 2015

@steveklabnik yeah, I know, but this one IMHO still should be purged and (when possible) replaced with example that is not using old_io.

@steveklabnik
Copy link
Member

@hauleth yeah, just making sure that you know it's not a universal policy :)

@steveklabnik
Copy link
Member

@bors: r+ rollup

@bors
Copy link
Contributor

bors commented Apr 7, 2015

📌 Commit 4695bf0 has been approved by steveklabnik

@huonw huonw assigned steveklabnik and unassigned huonw Apr 7, 2015
steveklabnik added a commit to steveklabnik/rust that referenced this pull request Apr 8, 2015
…om-mpsc, r=steveklabnik

As beta is now released and is "suggested" version of `rustc` then there should be no code (in documentation) that will not compile with it. This one does not.

So according to [this great talk](http://delete-your-code.herokuapp.com/), I am doing what should be done.
bors added a commit that referenced this pull request Apr 8, 2015
@bors bors merged commit 4695bf0 into rust-lang:master Apr 8, 2015
@hauleth hauleth deleted the remove-incorrect-example-from-mpsc branch April 8, 2015 19:25
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