This repository was archived by the owner on May 28, 2025. It is now read-only.
Commit 90b6c71
authored
Rollup merge of rust-lang#109682 - clubby789:c-str-inline, r=scottmcm
Add `#[inline]` to CStr trait implementations
Fixes rust-lang#109674
I noticed other usages of traits on `CStr` weren't being inlined, so also added hints to the other implementations1 file changed
+5
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
172 | 172 | | |
173 | 173 | | |
174 | 174 | | |
| 175 | + | |
175 | 176 | | |
176 | 177 | | |
177 | 178 | | |
| |||
623 | 624 | | |
624 | 625 | | |
625 | 626 | | |
| 627 | + | |
626 | 628 | | |
627 | 629 | | |
628 | 630 | | |
| |||
631 | 633 | | |
632 | 634 | | |
633 | 635 | | |
| 636 | + | |
634 | 637 | | |
635 | 638 | | |
636 | 639 | | |
637 | 640 | | |
638 | 641 | | |
639 | 642 | | |
| 643 | + | |
640 | 644 | | |
641 | 645 | | |
642 | 646 | | |
| |||
646 | 650 | | |
647 | 651 | | |
648 | 652 | | |
| 653 | + | |
649 | 654 | | |
650 | 655 | | |
651 | 656 | | |
| |||
0 commit comments