Skip to content

Documentation change: Showed the difference between map and and_then with an example. #30955

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

Closed
wants to merge 0 commits into from

Conversation

sandeep-datta
Copy link
Contributor

Updated documentation to clarify the difference between and_then and map. This also explains why we need and_then in addition to map. Please look at the diff for more information.

@rust-highfive
Copy link
Contributor

Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @brson (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. Due to 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 the contribution instructions for more information.

@nagisa
Copy link
Member

nagisa commented Jan 16, 2016

r? @steveklabnik

@rust-highfive rust-highfive assigned steveklabnik and unassigned brson Jan 16, 2016
@alexcrichton
Copy link
Member

This looks like it may have picked up some extra commits by accident as well, could you try a git rebase?

@sandeep-datta
Copy link
Contributor Author

Sure thing! Give me some time.

@sandeep-datta
Copy link
Contributor Author

@alexcrichton I am sorry I had to create a new pull request to get rid of the unwanted commits. I have closed this pull request. Please look at #30971 now.

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.

6 participants