Uh oh!
There was an error while loading. Please reload this page.
Add #[inline] to CStr trait implementations - #109682
Conversation
rustbot
commented
Mar 27, 2023
r? @thomcc (rustbot has picked a reviewer for you, use r? to override) |
rustbot
commented
Mar 27, 2023
Hey! It looks like you've submitted a new PR for the library teams! If this PR contains changes to any Examples of
|
Uh oh!
There was an error while loading. Please reload this page.
scottmcm
commented
Mar 28, 2023
Thanks! @bors r+ rollup |
bors
commented
Mar 28, 2023
…iaskrgr Rollup of 9 pull requests Successful merges: - rust-lang#108548 (Clarify the 'use a constant in a pattern' error message) - rust-lang#109565 (Improve documentation for E0223) - rust-lang#109661 (Fix LVI test post LLVM 16 update) - rust-lang#109667 (Always set `RUSTC_BOOTSTRAP` with `x doc`) - rust-lang#109669 (Update books) - rust-lang#109678 (Don't shadow the `dep_node` var in `incremental_verify_ich_failed`) - rust-lang#109682 (Add `#[inline]` to CStr trait implementations) - rust-lang#109685 (Make doc comment a little bit more accurate) - rust-lang#109687 (Document the heuristics IsTerminal uses on Windows) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup
Fixes#109674
I noticed other usages of traits on
CStrweren't being inlined, so also added hints to the other implementations