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

Improve the function pointer docs #98180

Merged
merged 3 commits into from
Jul 19, 2022
Merged

Commits on Jul 17, 2022

  1. rustdoc: extend #[doc(tuple_variadic)] to fn pointers

    The attribute is also renamed `fake_variadic`.
    notriddle committed Jul 17, 2022
    Configuration menu
    Copy the full SHA
    1169832 View commit details
    Browse the repository at this point in the history

Commits on Jul 19, 2022

  1. Improve the function pointer docs

    * Reduce duplicate impls; show only the `fn (T)` and include a sentence
      saying that there exists up to twelve of them.
    * Show `Copy` and `Clone`.
    * Show auto traits like `Send` and `Sync`, and blanket impls like `Any`.
    notriddle committed Jul 19, 2022
    Configuration menu
    Copy the full SHA
    5271e32 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ddb5a26 View commit details
    Browse the repository at this point in the history