Skip to content

Comments

refactor(allocator): make Box::new_in code more explicit#4432

Merged
graphite-app[bot] merged 1 commit intomainfrom
07-23-refactor_allocator_make_box_new_in_code_more_explicit
Jul 23, 2024
Merged

refactor(allocator): make Box::new_in code more explicit#4432
graphite-app[bot] merged 1 commit intomainfrom
07-23-refactor_allocator_make_box_new_in_code_more_explicit

Conversation

@overlookmotel
Copy link
Member

@overlookmotel overlookmotel commented Jul 23, 2024

Replace .into with NonNull::from. I feel this is a bit clearer.

Copy link
Member Author

overlookmotel commented Jul 23, 2024

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @overlookmotel and the rest of your teammates on Graphite Graphite

@overlookmotel overlookmotel marked this pull request as ready for review July 23, 2024 15:24
@Dunqing Dunqing force-pushed the 07-23-refactor_allocator_rename_fn_params_for_box_new_in_ branch from e4a0264 to 504daed Compare July 23, 2024 15:24
@Dunqing Dunqing changed the base branch from 07-23-refactor_allocator_rename_fn_params_for_box_new_in_ to main July 23, 2024 15:27
@Dunqing Dunqing force-pushed the 07-23-refactor_allocator_make_box_new_in_code_more_explicit branch from b81c84d to 3c0673b Compare July 23, 2024 15:28
@codspeed-hq
Copy link

codspeed-hq bot commented Jul 23, 2024

CodSpeed Performance Report

Merging #4432 will not alter performance

Comparing 07-23-refactor_allocator_make_box_new_in_code_more_explicit (0677a91) with main (504daed)

Summary

✅ 32 untouched benchmarks

@Dunqing Dunqing added the 0-merge Merge with Graphite Merge Queue label Jul 23, 2024
@graphite-app
Copy link
Contributor

graphite-app bot commented Jul 23, 2024

Merge activity

  • Jul 23, 11:40 AM EDT: The merge label 'merge' was detected. This PR will be added to the Graphite merge queue once it meets the requirements.
  • Jul 23, 11:41 AM EDT: Dunqing added this pull request to the Graphite merge queue.
  • Jul 23, 11:45 AM EDT: Dunqing merged this pull request with the Graphite merge queue.

Replace `.into` with `NonNull::from`. I feel this is a bit clearer.
@Dunqing Dunqing force-pushed the 07-23-refactor_allocator_make_box_new_in_code_more_explicit branch from 3c0673b to 0677a91 Compare July 23, 2024 15:41
@graphite-app graphite-app bot merged commit 0677a91 into main Jul 23, 2024
@graphite-app graphite-app bot deleted the 07-23-refactor_allocator_make_box_new_in_code_more_explicit branch July 23, 2024 15:45
eryue0220 added a commit to eryue0220/oxc that referenced this pull request Jul 24, 2024
…0/oxc into feat/vitest-no-import-node-test

* 'feat/vitest-no-import-node-test' of github.com:eryue0220/oxc:
  Release crates v0.22.0 (oxc-project#4434)
  feat(syntax): add boolean check methods for typescript-related symbol flags (oxc-project#4426)
  refactor(allocator): make `Box::new_in` code more explicit (oxc-project#4432)
  refactor(allocator): rename fn params for `Box::new_in` (oxc-project#4431)
  ci: pass secret to reusable workflow
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

0-merge Merge with Graphite Merge Queue

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants