diff options
| author | Michael Howell <michael@notriddle.com> | 2022-11-12 08:53:12 -0700 |
|---|---|---|
| committer | Michael Howell <michael@notriddle.com> | 2022-11-12 09:23:09 -0700 |
| commit | cb3a04b6ef4db1b16d5e8dac5fcc00d66183eed6 (patch) | |
| tree | 19eef1eb2d81bb7704e5366b1fc08a45f9a6f911 /src/librustdoc/html/render | |
| parent | ba4ae13528428cf770701ea5d9203cbf64b5a1cd (diff) | |
| download | rust-cb3a04b6ef4db1b16d5e8dac5fcc00d66183eed6.tar.gz rust-cb3a04b6ef4db1b16d5e8dac5fcc00d66183eed6.zip | |
rustdoc: avoid excessive HTML generated in example sources
Diffstat (limited to 'src/librustdoc/html/render')
| -rw-r--r-- | src/librustdoc/html/render/mod.rs | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/librustdoc/html/render/mod.rs b/src/librustdoc/html/render/mod.rs index e09106077f7..1fe52353449 100644 --- a/src/librustdoc/html/render/mod.rs +++ b/src/librustdoc/html/render/mod.rs @@ -2899,11 +2899,7 @@ fn render_call_locations(w: &mut Buffer, cx: &mut Context<'_>, item: &clean::Ite cx, &cx.root_path(), highlight::DecorationInfo(decoration_info), - sources::SourceContext::Embedded { - url: &call_data.url, - offset: line_min, - needs_expansion, - }, + sources::SourceContext::Embedded { offset: line_min, needs_expansion }, ); write!(w, "</div></div>"); |
