rust/src/librustdoc
bors 64f99b4cfb Auto merge of #74627 - petrochenkov:docbeauty2, r=Aaron1011
rustc_ast: Stop using "string typing" for doc comment tokens

Explicitly store their kind and style retrieved during lexing in the `token::DocComment`.

Also don't "beautify" doc comments before converting them to `#[doc]` attributes when passing them to macros (both declarative and procedural).
The trimming of empty lines, lines containing only `*`s, etc is purely a rustdoc's job as a part of its presentation of doc strings to users, rustc must not do this and must pass tokens as precisely as possible internally.
2020-08-07 13:29:25 +00:00
..
clean Auto merge of #74627 - petrochenkov:docbeauty2, r=Aaron1011 2020-08-07 13:29:25 +00:00
formats More requested changes 2020-07-27 17:34:17 -05:00
html rustc_ast: (Nested)MetaItem::check_name -> has_name 2020-08-04 00:34:11 +03:00
json Update driver to add json backend 2020-07-30 14:13:51 -05:00
passes Rollup merge of #75079 - jyn514:disambiguator, r=Manishearth 2020-08-06 23:04:03 -07:00
test Normalize syntax::edition imports. 2020-01-02 19:31:38 +01:00
theme Add test to check if minified theme are handled correctly 2020-02-12 15:49:39 +01:00
Cargo.toml Remove unused lazy_static 2020-07-16 09:03:46 -04:00
config.rs Update driver to add json backend 2020-07-30 14:13:51 -05:00
core.rs Auto merge of #74926 - Manishearth:rename-lint, r=jyn514 2020-07-31 02:20:47 +00:00
docfs.rs Pass by value 2020-07-29 16:48:22 -05:00
doctree.rs Support configurable deny-warnings for all in-tree crates. 2020-06-25 21:17:21 -07:00
error.rs Move Error and RenderInfo out of html module 2020-07-27 16:00:38 -05:00
externalfiles.rs rustdoc: Rename internal API fns to into_string 2020-07-15 10:55:40 +00:00
fold.rs Format the world 2019-12-22 17:42:47 -05:00
lib.rs Auto merge of #75124 - nnethercote:clean-up-rustdoc-main, r=oli-obk 2020-08-05 09:09:17 +00:00
markdown.rs rustdoc: Rename internal API fns to into_string 2020-07-15 10:55:40 +00:00
README.md rust-lang.github.io/rustc-dev-guide -> rustc-dev-guide.rust-lang.org 2020-03-10 17:08:18 -03:00
test.rs Auto merge of #73842 - euclio:doctest-expn, r=GuillaumeGomez 2020-08-07 11:38:17 +00:00
theme.rs Expand and remove try_something macro. 2020-04-02 19:55:56 +02:00
visit_ast.rs rustc_ast: (Nested)MetaItem::check_name -> has_name 2020-08-04 00:34:11 +03:00
visit_lib.rs rustc -> rustc_middle part 3 (rustfmt) 2020-03-30 07:19:55 +02:00

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