-
Notifications
You must be signed in to change notification settings - Fork 13.1k
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
Delete duplicated helpers from HIR printer #91565
Conversation
r? @jackh726 (rust-highfive has picked a reviewer for you, use r? to override) |
This comment has been minimized.
This comment has been minimized.
@bors r+ |
📌 Commit 596e33a has been approved by |
☀️ Test successful - checks-actions |
Finished benchmarking commit (ba9fc4f): comparison url. Summary: This benchmark run did not return any relevant changes. If you disagree with this performance assessment, please file an issue in rust-lang/rustc-perf. @rustbot label: -perf-regression |
These functions (
cbox
,nbsp
,word_nbsp
,head
,bopen
,space_if_not_bol
,break_offset_if_not_bol
,synth_comment
,maybe_print_trailing_comment
,print_remaining_comments
) are duplicated with identical behavior across the AST printer and HIR printer, but are not specific to AST or HIR data structures.