diff options
| author | Justus K <justus.k@protonmail.com> | 2021-05-08 10:04:03 +0200 |
|---|---|---|
| committer | Justus K <justus.k@protonmail.com> | 2021-05-15 13:21:35 +0200 |
| commit | 67d8d18b230dda20758f3733ebce56fb09f0e093 (patch) | |
| tree | 687ee9c8ec660934d909363ba364e1c33e797353 /src/librustdoc/html/render/write_shared.rs | |
| parent | c6dd87a6b4a62cf5d2cb6207b1dcea652ea1aa60 (diff) | |
| download | rust-67d8d18b230dda20758f3733ebce56fb09f0e093.tar.gz rust-67d8d18b230dda20758f3733ebce56fb09f0e093.zip | |
Minimize amount of fake `DefId`s used in rustdoc
Diffstat (limited to 'src/librustdoc/html/render/write_shared.rs')
| -rw-r--r-- | src/librustdoc/html/render/write_shared.rs | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/librustdoc/html/render/write_shared.rs b/src/librustdoc/html/render/write_shared.rs index d0518cb6862..c25a73f58eb 100644 --- a/src/librustdoc/html/render/write_shared.rs +++ b/src/librustdoc/html/render/write_shared.rs @@ -465,8 +465,6 @@ pub(super) fn write_shared( // Update the list of all implementors for traits let dst = cx.dst.join("implementors"); for (&did, imps) in &cx.cache.implementors { - let did = did.expect_real(); - // Private modules can leak through to this phase of rustdoc, which // could contain implementations for otherwise private types. In some // rare cases we could find an implementation for an item which wasn't |
