Skip to content

Commit

Permalink
refactor(ast/builder): use Box::new_in over .into_in (#4428)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
overlookmotel committed Jul 24, 2024
1 parent 46cf717 commit 9c5d2f9
Show file tree
Hide file tree
Showing 2 changed files with 377 additions and 283 deletions.
Loading

0 comments on commit 9c5d2f9

Please sign in to comment.