diff options
| author | Boris-Chengbiao Zhou <bobo1239@web.de> | 2021-05-28 21:23:39 +0200 |
|---|---|---|
| committer | Boris-Chengbiao Zhou <bobo1239@web.de> | 2021-05-28 21:23:53 +0200 |
| commit | 8b6dad2a124f8f27fa79da2dac1d90d8789f861b (patch) | |
| tree | 687efb9bbbaacf2b4c1e22dfd868cce7dbae4d1f /src/librustdoc/html | |
| parent | e51830b90afd339332892a8f20db1957d43bf086 (diff) | |
| download | rust-8b6dad2a124f8f27fa79da2dac1d90d8789f861b.tar.gz rust-8b6dad2a124f8f27fa79da2dac1d90d8789f861b.zip | |
Remove `--print unversioned-files` from rustdoc
This flag isn't needed anymore. See #83784.
Diffstat (limited to 'src/librustdoc/html')
| -rw-r--r-- | src/librustdoc/html/render/mod.rs | 1 | ||||
| -rw-r--r-- | src/librustdoc/html/render/write_shared.rs | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/src/librustdoc/html/render/mod.rs b/src/librustdoc/html/render/mod.rs index 29b10fb8457..507c5e175f9 100644 --- a/src/librustdoc/html/render/mod.rs +++ b/src/librustdoc/html/render/mod.rs @@ -33,7 +33,6 @@ mod print_item; mod write_shared; crate use context::*; -crate use write_shared::FILES_UNVERSIONED; use std::collections::VecDeque; use std::default::Default; diff --git a/src/librustdoc/html/render/write_shared.rs b/src/librustdoc/html/render/write_shared.rs index dd0fb3a9e02..73ffec0dd4e 100644 --- a/src/librustdoc/html/render/write_shared.rs +++ b/src/librustdoc/html/render/write_shared.rs @@ -18,7 +18,7 @@ use crate::docfs::PathError; use crate::error::Error; use crate::html::{layout, static_files}; -crate static FILES_UNVERSIONED: Lazy<FxHashMap<&str, &[u8]>> = Lazy::new(|| { +static FILES_UNVERSIONED: Lazy<FxHashMap<&str, &[u8]>> = Lazy::new(|| { map! { "FiraSans-Regular.woff2" => static_files::fira_sans::REGULAR2, "FiraSans-Medium.woff2" => static_files::fira_sans::MEDIUM2, |
