about summary refs log tree commit diff
path: root/src/librustdoc/html/render/mod.rs
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume.gomez@huawei.com>2024-09-07 15:11:18 +0200
committerGuillaume Gomez <guillaume.gomez@huawei.com>2024-09-07 15:40:48 +0200
commit1ca3e90db9e98fc55d2446048737169619f5e3b0 (patch)
tree2f4ee794e4e219dbc32e1d082549094ca4c13b8d /src/librustdoc/html/render/mod.rs
parent59d4114b2d1aaac9a6dfe770997f2e79ccfd28ab (diff)
downloadrust-1ca3e90db9e98fc55d2446048737169619f5e3b0.tar.gz
rust-1ca3e90db9e98fc55d2446048737169619f5e3b0.zip
Generate scraped examples buttons in JS
Diffstat (limited to 'src/librustdoc/html/render/mod.rs')
-rw-r--r--src/librustdoc/html/render/mod.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/librustdoc/html/render/mod.rs b/src/librustdoc/html/render/mod.rs
index f67d006116c..d7ac3e94ab2 100644
--- a/src/librustdoc/html/render/mod.rs
+++ b/src/librustdoc/html/render/mod.rs
@@ -2537,7 +2537,6 @@ fn render_call_locations<W: fmt::Write>(mut w: W, cx: &mut Context<'_>, item: &c
             &cx.root_path(),
             highlight::DecorationInfo(decoration_info),
             sources::SourceContext::Embedded(sources::ScrapedInfo {
-                needs_prev_next_buttons: line_ranges.len() > 1,
                 needs_expansion,
                 offset: line_min,
                 name: &call_data.display_name,