about summary refs log tree commit diff
path: root/src/librustdoc/html/render/write_shared.rs
diff options
context:
space:
mode:
authorYuki Okushi <jtitor@2k36.org>2021-04-24 12:17:07 +0900
committerGitHub <noreply@github.com>2021-04-24 12:17:07 +0900
commit8d75898dbb29aa90a0c96a5e30d40645ce4db329 (patch)
tree352e6154d0cbce5608bbc339fb7fa6e78c0dd0e9 /src/librustdoc/html/render/write_shared.rs
parented5646bfeed5ccf8d4f17fe76efd47ce1731d050 (diff)
parentedb60a9243c204d9e281b34a7216fe0c94bb743c (diff)
downloadrust-8d75898dbb29aa90a0c96a5e30d40645ce4db329.tar.gz
rust-8d75898dbb29aa90a0c96a5e30d40645ce4db329.zip
Rollup merge of #84458 - jyn514:cleanup-after-krate, r=GuillaumeGomez
Remove unnecessary fields and parameters in rustdoc

r? `@GuillaumeGomez`
Diffstat (limited to 'src/librustdoc/html/render/write_shared.rs')
-rw-r--r--src/librustdoc/html/render/write_shared.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustdoc/html/render/write_shared.rs b/src/librustdoc/html/render/write_shared.rs
index 78bcd40af75..8e10c696df0 100644
--- a/src/librustdoc/html/render/write_shared.rs
+++ b/src/librustdoc/html/render/write_shared.rs
@@ -425,7 +425,7 @@ pub(super) fn write_shared(
             md_opts.output = cx.dst.clone();
             md_opts.external_html = (*cx.shared).layout.external_html.clone();
 
-            crate::markdown::render(&index_page, md_opts, cx.shared.edition)
+            crate::markdown::render(&index_page, md_opts, cx.shared.edition())
                 .map_err(|e| Error::new(e, &index_page))?;
         } else {
             let dst = cx.dst.join("index.html");