summary refs log tree commit diff
path: root/src/librustdoc/html/render/write_shared.rs
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2021-10-30 14:37:04 +0200
committerGitHub <noreply@github.com>2021-10-30 14:37:04 +0200
commit19b5b0f8fbc2034993f39bdf60005a706d11a75d (patch)
tree93b9c9909310c68984b50f5a584dec10aeae5034 /src/librustdoc/html/render/write_shared.rs
parentf9111e0336ee595961069fc5b9126c435968894b (diff)
parentb6851ba3c9eccfb1def7fdb5e4c64edcad55e612 (diff)
downloadrust-19b5b0f8fbc2034993f39bdf60005a706d11a75d.tar.gz
rust-19b5b0f8fbc2034993f39bdf60005a706d11a75d.zip
Rollup merge of #90412 - jyn514:macro-use, r=camelid
Remove unnecessary `macro_use`s in rustdoc
Diffstat (limited to 'src/librustdoc/html/render/write_shared.rs')
-rw-r--r--src/librustdoc/html/render/write_shared.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/librustdoc/html/render/write_shared.rs b/src/librustdoc/html/render/write_shared.rs
index 34f1b4cd684..27277015cd1 100644
--- a/src/librustdoc/html/render/write_shared.rs
+++ b/src/librustdoc/html/render/write_shared.rs
@@ -17,6 +17,7 @@ use crate::config::{EmitType, RenderOptions};
 use crate::docfs::PathError;
 use crate::error::Error;
 use crate::html::{layout, static_files};
+use crate::{try_err, try_none};
 
 static FILES_UNVERSIONED: Lazy<FxHashMap<&str, &[u8]>> = Lazy::new(|| {
     map! {