8513e78dbb
Fix perf regression in rustdoc::bare_urls This regressed in #81764. After that PR, rustdoc compiled the regex for every single item in the crate: https://perf.rust-lang.org/compare.html?start=125505306744a0a5bb01d62337260a95d9ff8d57&end=2e495d2e845cf27740e3665f718acfd3aa17253e&stat=instructions%3Au This would have been caught by `clippy::declare_interior_mutable_const` (cc https://github.com/rust-lang/rust/issues/77983). |
||
---|---|---|
.. | ||
clean | ||
doctest | ||
formats | ||
html | ||
json | ||
passes | ||
theme | ||
Cargo.toml | ||
config.rs | ||
core.rs | ||
docfs.rs | ||
doctest.rs | ||
doctree.rs | ||
error.rs | ||
externalfiles.rs | ||
fold.rs | ||
lib.rs | ||
lint.rs | ||
markdown.rs | ||
README.md | ||
theme.rs | ||
visit_ast.rs | ||
visit_lib.rs |
For more information about how librustdoc
works, see the rustc dev guide.