Skip to content

Some libsyntax/librustc cleanups #11255

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

Merged
merged 4 commits into from
Jan 1, 2014
Merged

Conversation

klutzy
Copy link
Contributor

@klutzy klutzy commented Jan 1, 2014

This patchset removes some @s and unnecessary traits,
and replaces a function (dummy_sp()) returning constant value
by static variable.

klutzy added 4 commits January 1, 2014 19:10
This removes trait `handler` and `span_handler`,
and renames `HandlerT` to `Handler`, `CodemapT` to `SpanHandler`.
It replaces `dummy_sp()`.
bors added a commit that referenced this pull request Jan 1, 2014
This patchset removes some `@`s and unnecessary traits,
and replaces a function (`dummy_sp()`) returning constant value
by static variable.
@bors bors closed this Jan 1, 2014
@bors bors merged commit 9cdad68 into rust-lang:master Jan 1, 2014
@klutzy klutzy deleted the small-cleanup branch January 2, 2014 00:35
flip1995 pushed a commit to flip1995/rust that referenced this pull request Aug 11, 2023
… r=xFrednet

Fix `suspicious_xor_used_as_pow.rs` performance

The original `suspicious_xor_used_as_pow` lint had poor performance, so I fixed that + a little refactor so that module is readable.

**107 millis. -> 106 millis.** Using `SPEEDTEST` on Rust's VMs

fix rust-lang#11060
changelog: [`suspicious_xor_used_as_pow`]: Improve performance by 0.934%
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants