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 dyn to Any documentation #65370

Merged
merged 2 commits into from
Oct 13, 2019
Merged

Add dyn to Any documentation #65370

merged 2 commits into from
Oct 13, 2019

Commits on Oct 13, 2019

  1. Add dyn to Any documentation

    I noticed that in documentation to `Any` trait the old trait object syntax is used, which could be confusing for newcomers, since we generally recommend using `dyn Trait` instead of just `Trait`. This PR changes the documentation comment, so that it uses `&dyn Any`, `&mut dyn Any` and `Box<dyn Any>`, correspondingly.
    Cerber-Ursi authored Oct 13, 2019
    Configuration menu
    Copy the full SHA
    cfda050 View commit details
    Browse the repository at this point in the history
  2. Added code element

    Co-Authored-By: Jonas Schievink <jonasschievink@gmail.com>
    Cerber-Ursi and jonas-schievink authored Oct 13, 2019
    Configuration menu
    Copy the full SHA
    0510bbf View commit details
    Browse the repository at this point in the history