-
Notifications
You must be signed in to change notification settings - Fork 12.7k
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
Replace String with Symbol where possible #80091
Conversation
Some changes occurred in intra-doc-links. cc @jyn514 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks amazing, thanks so much ❤️
matches!( | ||
*ns, | ||
PerNS { | ||
type_ns: Ok((Res::Def(DefKind::Trait, _), _)), | ||
macro_ns: Ok((Res::Def(DefKind::Macro(MacroKind::Derive), _), _)), | ||
.. | ||
} | ||
) | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is weird, not sure why it changed :/ did you run the wrong version of rustfmt
maybe?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No idea. I always run my "own" version, which isn't the best idea I think.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If you run x.py fmt
it should work correctly.
ea28c77
to
50d221c
Compare
Updated! If it looks fine to you, I'll let you start the perf check. :3 |
Sorry, can't wait, just want to know! ⏩ @bors try @rust-timer queue |
Awaiting bors try build completion. |
⌛ Trying commit 50d221c with merge ed385fcba33dd70047504a3e0c0aadd0106d7e5a... |
☀️ Try build successful - checks-actions |
Queued ed385fcba33dd70047504a3e0c0aadd0106d7e5a with parent 2ba7ca2, future comparison URL. @rustbot label: +S-waiting-on-perf |
Finished benchmarking try commit (ed385fcba33dd70047504a3e0c0aadd0106d7e5a): comparison url. Benchmarking this pull request likely means that it is perf-sensitive, so we're automatically marking it as not fit for rolling up. Please note that if the perf results are neutral, you should likely undo the rollup=never given below by specifying Importantly, though, if the results of this run are non-neutral do not roll this PR up -- it will mask other regressions or improvements in the roll up. @bors rollup=never |
Wow! -4.7% on instructions, -1.3% on max-rss :) Up to -6.2% on wall-times, although that's always variable. |
@bors r+ rollup=never |
📌 Commit 50d221c has been approved by |
☀️ Test successful - checks-actions |
Continue String to Symbol conversion in rustdoc Follow-up of rust-lang#80091. This PR is already big enough so I'll stop here before the next one. r? `@jyn514`
The same as #80047 but on different types. Might be interesting to run some perf comparison.
r? @jyn514