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

add #[doc(alias="flatmap")] to Option::and_then #109093

Merged
merged 1 commit into from
Jun 4, 2023

Commits on Mar 13, 2023

  1. add #[doc(alias="flatmap")] to Option::and_then

    I keep forgetting that rust calls this `and_then` and trying to search for `flatmap`.
    `and_then`'s docs even mention "Some languages call this operation flatmap",
    but it doesn't show up as a result in the search at `https://doc.rust-lang.org/std/?search=flatmap`
    Dante-Broggi authored Mar 13, 2023
    Configuration menu
    Copy the full SHA
    7fb34c9 View commit details
    Browse the repository at this point in the history