diff options
| author | Joshua Nelson <jyn514@gmail.com> | 2020-07-05 23:38:31 -0400 |
|---|---|---|
| committer | Joshua Nelson <jyn514@gmail.com> | 2020-09-03 09:29:22 -0400 |
| commit | 9815010d8f6a46621ee96cb824f9939b9db0ae47 (patch) | |
| tree | 67ccb95bcf975568ac1effacda46513b34db2418 /src/librustdoc/html/render | |
| parent | 31a7b6e8323b6e9880f4691e624cf6aa6289f6a7 (diff) | |
| download | rust-9815010d8f6a46621ee96cb824f9939b9db0ae47.tar.gz rust-9815010d8f6a46621ee96cb824f9939b9db0ae47.zip | |
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
Diffstat (limited to 'src/librustdoc/html/render')
| -rw-r--r-- | src/librustdoc/html/render/mod.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/librustdoc/html/render/mod.rs b/src/librustdoc/html/render/mod.rs index 9dc85881482..318b10e2af2 100644 --- a/src/librustdoc/html/render/mod.rs +++ b/src/librustdoc/html/render/mod.rs @@ -64,8 +64,7 @@ use serde::ser::SerializeSeq; use serde::{Serialize, Serializer}; use crate::clean::{self, AttributesExt, Deprecation, GetDefId, RenderedLink, SelfTy, TypeKind}; -use crate::config::RenderInfo; -use crate::config::RenderOptions; +use crate::config::{RenderInfo, RenderOptions}; use crate::docfs::{DocFS, PathError}; use crate::doctree; use crate::error::Error; |
