Skip to content

Comments

refactor(transformer): methods only take &TraverseCtx where possible#6812

Merged
graphite-app[bot] merged 1 commit intomainfrom
10-23-refactor_transformer_methods_only_take_traversectx_where_possible
Oct 23, 2024
Merged

refactor(transformer): methods only take &TraverseCtx where possible#6812
graphite-app[bot] merged 1 commit intomainfrom
10-23-refactor_transformer_methods_only_take_traversectx_where_possible

Conversation

@overlookmotel
Copy link
Member

@overlookmotel overlookmotel commented Oct 23, 2024

Methods which only need an immutable ref &TraverseCtx take that, instead of unnecessary &mut TraverseCtx.

@graphite-app
Copy link
Contributor

graphite-app bot commented Oct 23, 2024

Your org has enabled the Graphite merge queue for merging into main

Add the label “0-merge” to the PR and Graphite will automatically add it to the merge queue when it’s ready to merge. Or use the label “hotfix” to add to the merge queue as a hot fix.

You must have a Graphite account and log in to Graphite in order to use the merge queue. Sign up using this link.

Copy link
Member Author

overlookmotel commented Oct 23, 2024

@overlookmotel overlookmotel marked this pull request as ready for review October 23, 2024 10:56
@github-actions github-actions bot added A-transformer Area - Transformer / Transpiler C-cleanup Category - technical debt or refactoring. Solution not expected to change behavior labels Oct 23, 2024
@codspeed-hq
Copy link

codspeed-hq bot commented Oct 23, 2024

CodSpeed Performance Report

Merging #6812 will not alter performance

Comparing 10-23-refactor_transformer_methods_only_take_traversectx_where_possible (759710a) with main (47bc368)

Summary

✅ 30 untouched benchmarks

@overlookmotel
Copy link
Member Author

Minor change, so merging without review.

@overlookmotel overlookmotel added the 0-merge Merge with Graphite Merge Queue label Oct 23, 2024
Copy link
Member Author

overlookmotel commented Oct 23, 2024

Merge activity

  • Oct 23, 7:31 AM EDT: The merge label '0-merge' was detected. This PR will be added to the Graphite merge queue once it meets the requirements.
  • Oct 23, 7:32 AM EDT: A user added this pull request to the Graphite merge queue.
  • Oct 23, 7:42 AM EDT: A user merged this pull request with the Graphite merge queue.

@overlookmotel overlookmotel changed the base branch from 10-23-refactor_traverse_boundidentifier_methods_only_take_traversectx_ to graphite-base/6812 October 23, 2024 11:32
@graphite-app graphite-app bot changed the base branch from graphite-base/6812 to main October 23, 2024 11:36
#6812)

Methods which only need an immutable ref `&TraverseCtx` take that, instead of unnecessary `&mut TraverseCtx`.
@overlookmotel overlookmotel force-pushed the 10-23-refactor_transformer_methods_only_take_traversectx_where_possible branch from 888cc11 to 759710a Compare October 23, 2024 11:37
@graphite-app graphite-app bot merged commit 759710a into main Oct 23, 2024
@graphite-app graphite-app bot deleted the 10-23-refactor_transformer_methods_only_take_traversectx_where_possible branch October 23, 2024 11:42
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 A-transformer Area - Transformer / Transpiler C-cleanup Category - technical debt or refactoring. Solution not expected to change behavior

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant