diff options
| author | Nixon Enraght-Moony <nixon.emoony@gmail.com> | 2021-03-24 15:54:20 +0000 | 
|---|---|---|
| committer | Nixon Enraght-Moony <nixon.emoony@gmail.com> | 2021-03-24 16:54:13 +0000 | 
| commit | 9ba92972ed6a1a39afa5993da97e016eea907be2 (patch) | |
| tree | 5559412e5521051f794cf4254f9ec335b0e80810 /src/librustdoc/html/render/context.rs | |
| parent | ce21447c01c8ea6ce4f4c9dd2c18266439200f1d (diff) | |
| download | rust-9ba92972ed6a1a39afa5993da97e016eea907be2.tar.gz rust-9ba92972ed6a1a39afa5993da97e016eea907be2.zip | |
Don't call `item` on modules for json renderer
Closes #80664
Diffstat (limited to 'src/librustdoc/html/render/context.rs')
| -rw-r--r-- | src/librustdoc/html/render/context.rs | 2 | 
1 files changed, 2 insertions, 0 deletions
| diff --git a/src/librustdoc/html/render/context.rs b/src/librustdoc/html/render/context.rs index 64d413a5f31..0ffb4d616da 100644 --- a/src/librustdoc/html/render/context.rs +++ b/src/librustdoc/html/render/context.rs @@ -290,6 +290,8 @@ impl<'tcx> FormatRenderer<'tcx> for Context<'tcx> { "html" } + const RUN_ON_MODULE: bool = true; + fn init( mut krate: clean::Crate, options: RenderOptions, | 
