about summary refs log tree commit diff
path: root/src/librustdoc/html/render
diff options
context:
space:
mode:
authorJoshua Nelson <jyn514@gmail.com>2021-01-22 10:38:30 -0500
committerJoshua Nelson <jyn514@gmail.com>2021-01-23 11:42:11 -0500
commit1d1010f1af1747f9fa8fbade19d9eed2260c96f1 (patch)
treec4926d7c619adacfe6a0708fcc8214cab9ab5359 /src/librustdoc/html/render
parentbf86fd522114d8064360682bacd23327a84dbfa4 (diff)
downloadrust-1d1010f1af1747f9fa8fbade19d9eed2260c96f1.tar.gz
rust-1d1010f1af1747f9fa8fbade19d9eed2260c96f1.zip
Add more timing info to render_html
- Show `create_renderer` and `renderer_after_crate` by default
- Don't rewrite `extra_verbose_generic_activity`
Diffstat (limited to 'src/librustdoc/html/render')
-rw-r--r--src/librustdoc/html/render/mod.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/librustdoc/html/render/mod.rs b/src/librustdoc/html/render/mod.rs
index 26afd705740..343509588f5 100644
--- a/src/librustdoc/html/render/mod.rs
+++ b/src/librustdoc/html/render/mod.rs
@@ -384,6 +384,10 @@ crate fn initial_ids() -> Vec<String> {
 
 /// Generates the documentation for `crate` into the directory `dst`
 impl<'tcx> FormatRenderer<'tcx> for Context<'tcx> {
+    fn descr() -> &'static str {
+        "html"
+    }
+
     fn init(
         mut krate: clean::Crate,
         options: RenderOptions,