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

refactor(ast/builder): use Box::new_in over .into_in #4428

Merged

Commits on Jul 24, 2024

  1. refactor(ast/builder): use Box::new_in over .into_in (#4428)

    In `AstBuilder`'s `alloc_*` methods, use `Box::new_in` instead of `.into_in`. This is more explicit, so I feel easier to understand. It may also make life easier for compiler by not requiring it to perform type coercion.
    overlookmotel committed Jul 24, 2024
    Configuration menu
    Copy the full SHA
    9c5d2f9 View commit details
    Browse the repository at this point in the history