Commit 5ece1be
authored
Rollup merge of rust-lang#157602 - fmease:rustdoc-rm-unnecessary-fast-path, r=mu001999
rustdoc: Remove unnecessary fast path
I added this "fast path" prematurely in PR rust-lang#116882.
It's not actually necessary as this perf run shows: rust-lang#146483 (comment) (https://perf.rust-lang.org/compare.html?start=40ace17fc3891155bad26a50d60a9ab07b83bf8e&end=a77816d56c8fdadab64ae3f9fe1a653bfdb975a8&stat=instructions:u).
Let's remove it since makes it slightly more annoying to add new reprs (one would need to update two places).1 file changed
Lines changed: 0 additions & 12 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3061 | 3061 | | |
3062 | 3062 | | |
3063 | 3063 | | |
3064 | | - | |
3065 | | - | |
3066 | | - | |
3067 | | - | |
3068 | | - | |
3069 | | - | |
3070 | | - | |
3071 | | - | |
3072 | | - | |
3073 | | - | |
3074 | | - | |
3075 | | - | |
3076 | 3064 | | |
3077 | 3065 | | |
3078 | 3066 | | |
| |||
0 commit comments