You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Auto merge of rust-lang#65750 - nnethercote:cheaper-doc-comments, r=petrochenkov
Cheaper doc comments
This PR implements the idea from rust-lang#60935: represent doc comments more cheaply, rather than converting them into `#[doc="..."]` attribute form. Unlike rust-lang#60936 (which is about coalescing doc comments to reduce their number), this approach does not have any backwards compatibility concerns, and it eliminates about 80-90% of the current cost of doc comments (as estimated using the numbers in rust-lang#60930, which eliminated the cost of doc comments entirely by treating them as normal comments).
r? @petrochenkov
0 commit comments