]> git.lizzy.rs Git - rust.git/commit
Remove disambiguators from link text
authorJoshua Nelson <jyn514@gmail.com>
Mon, 6 Jul 2020 03:38:31 +0000 (23:38 -0400)
committerJoshua Nelson <jyn514@gmail.com>
Thu, 3 Sep 2020 13:29:22 +0000 (09:29 -0400)
commit9815010d8f6a46621ee96cb824f9939b9db0ae47
tree67ccb95bcf975568ac1effacda46513b34db2418
parent31a7b6e8323b6e9880f4691e624cf6aa6289f6a7
Remove disambiguators from link text

Related to https://github.com/rust-lang/rust/issues/65354

- Pass through the replacement text to `markdown.rs`
- Add some tests
- Add a state machine that actually replaces the text when parsing Markdown
src/librustdoc/clean/types.rs
src/librustdoc/html/markdown.rs
src/librustdoc/html/render/mod.rs
src/librustdoc/passes/collect_intra_doc_links.rs
src/test/rustdoc/disambiguator_removed.rs [new file with mode: 0644]