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

Arenas cleanup #90990

Merged
merged 2 commits into from
Nov 19, 2021
Merged

Arenas cleanup #90990

merged 2 commits into from
Nov 19, 2021

Commits on Nov 16, 2021

  1. Remove unnecessary lifetime argument from arena macros.

    Because it's always `'tcx`. In fact, some of them use a mixture of
    passed-in `$tcx` and hard-coded `'tcx`, so no other lifetime would even
    work.
    
    This makes the code easier to read.
    nnethercote committed Nov 16, 2021
    Configuration menu
    Copy the full SHA
    5520737 View commit details
    Browse the repository at this point in the history

Commits on Nov 18, 2021

  1. Add some comments.

    Also use `Default::default()` in one `TypedArena::default()`, for
    consistency with `DroplessArena::default()`.
    nnethercote committed Nov 18, 2021
    Configuration menu
    Copy the full SHA
    0a89598 View commit details
    Browse the repository at this point in the history