-
-
Notifications
You must be signed in to change notification settings - Fork 759
refactor(ast_tools): simplify CloneIn derive
#9938
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_tools): simplify CloneIn derive
#9938
Conversation
How to use the Graphite Merge QueueAdd either label to this PR to merge it via the merge queue:
You must have a Graphite account in order to use the merge queue. Sign up using this link. An organization admin has enabled the Graphite Merge Queue in this repository. Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue. This stack of pull requests is managed by Graphite. Learn more about stacking. |
CodSpeed Instrumentation Performance ReportMerging #9938 will not alter performanceComparing Summary
|
|
Does not make an substantial changes to generated code, only simplifies the code generator, so merging without review. |
Merge activity
|
Simplify implementation of code generator for `CloneIn`. Instead of complicated code to avoid unused vars, just add `#![allow(unused_variables)]` to silence the lint rules. And always use same name for the lifetime. These changes make the logic of the code generator simpler. Also add line breaks to generated code for readability.
ee27e81 to
a09bbcf
Compare
410e54c to
28179cd
Compare

Simplify implementation of code generator for
CloneIn.Instead of complicated code to avoid unused vars, just add
#![allow(unused_variables)]to silence the lint rules. And always use same name for the lifetime. These changes make the logic of the code generator simpler.Also add line breaks to generated code for readability.