rust/src/librustdoc
Yuri Astrakhan 8bcf0b4a37 Avoid ref when using format! in compiler
Clean up a few minor refs in `format!` macro, as it has a performance cost. Apparently the compiler is unable to inline `format!("{}", &variable)`, and does a run-time double-reference instead (format macro already does one level referencing).  Inlining format args prevents accidental `&` misuse.
2024-07-19 16:08:53 -04:00
..
clean Remove some unintended changes to imports 2024-07-17 20:31:37 -07:00
doctest Use a dedicated type instead of a reference for the diagnostic context 2024-06-18 15:42:11 +00:00
formats Revert "Rollup merge of #124976 - petrochenkov:usedcrates, r=oli-obk" 2024-06-06 10:06:28 +00:00
html Avoid ref when using format! in compiler 2024-07-19 16:08:53 -04:00
json Add rustdoc-json support for use<> 2024-07-12 05:24:51 -04:00
passes Rollup merge of #127301 - estebank:fix-suggestions, r=Urgau 2024-07-04 18:16:24 +02:00
theme rustdoc: merge theme css into rustdoc.css 2023-09-15 07:40:17 -07:00
askama.toml Remove unneeded minus sign in jinja tags 2023-03-06 11:38:15 +01:00
Cargo.toml rustdoc: add usable lint for pulldown-cmark-0.11 parsing changes 2024-07-01 07:21:02 -07:00
config.rs Use a dedicated type instead of a reference for the diagnostic context 2024-06-18 15:42:11 +00:00
core.rs Use a dedicated type instead of a reference for the diagnostic context 2024-06-18 15:42:11 +00:00
docfs.rs remove redundant imports 2023-12-10 10:56:22 +08:00
doctest.rs Use a dedicated type instead of a reference for the diagnostic context 2024-06-18 15:42:11 +00:00
error.rs Remove crate visibility modifier in libs, tests 2022-05-21 00:32:47 -04:00
externalfiles.rs Use a dedicated type instead of a reference for the diagnostic context 2024-06-18 15:42:11 +00:00
fold.rs Implement unsafe_extern_blocks feature in rustdoc 2024-06-20 22:12:35 +02:00
lib.rs Use a dedicated type instead of a reference for the diagnostic context 2024-06-18 15:42:11 +00:00
lint.rs Auto merge of #127097 - compiler-errors:async-closure-lint, r=oli-obk 2024-07-11 06:59:10 +00:00
markdown.rs Move Markdown-specific doctest code into submodule 2024-06-07 17:48:47 +02:00
README.md rust-lang.github.io/rustc-dev-guide -> rustc-dev-guide.rust-lang.org 2020-03-10 17:08:18 -03:00
scrape_examples.rs Use a dedicated type instead of a reference for the diagnostic context 2024-06-18 15:42:11 +00:00
theme.rs Use a dedicated type instead of a reference for the diagnostic context 2024-06-18 15:42:11 +00:00
visit.rs Implement unsafe_extern_blocks feature in rustdoc 2024-06-20 22:12:35 +02:00
visit_ast.rs Don't require visit_body to take a lifetime that must outlive the function call 2024-05-29 10:04:08 +00:00
visit_lib.rs Correctly handle --document-hidden-items 2023-07-14 17:25:09 +02:00

For more information about how librustdoc works, see the rustc dev guide.