about summary refs log tree commit diff
path: root/src/librustdoc/html/render
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume1.gomez@gmail.com>2024-11-13 16:56:18 +0100
committerGuillaume Gomez <guillaume1.gomez@gmail.com>2024-11-13 16:56:18 +0100
commitd9aac8cfcefcd4063fc39ff19e9ace373471bbbc (patch)
treef8c866c1cf615775c6e50db93642b9f63f84bcc1 /src/librustdoc/html/render
parent583b25d8d1bf934f593d9d9811f88305888032b5 (diff)
downloadrust-d9aac8cfcefcd4063fc39ff19e9ace373471bbbc.tar.gz
rust-d9aac8cfcefcd4063fc39ff19e9ace373471bbbc.zip
Fix duplicated footnote IDs
Diffstat (limited to 'src/librustdoc/html/render')
-rw-r--r--src/librustdoc/html/render/context.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/librustdoc/html/render/context.rs b/src/librustdoc/html/render/context.rs
index dc4d45e592e..5f255c18ec6 100644
--- a/src/librustdoc/html/render/context.rs
+++ b/src/librustdoc/html/render/context.rs
@@ -76,9 +76,9 @@ pub(crate) struct Context<'tcx> {
 
 // `Context` is cloned a lot, so we don't want the size to grow unexpectedly.
 #[cfg(all(not(windows), target_pointer_width = "64"))]
-rustc_data_structures::static_assert_size!(Context<'_>, 184);
-#[cfg(all(windows, target_pointer_width = "64"))]
 rustc_data_structures::static_assert_size!(Context<'_>, 192);
+#[cfg(all(windows, target_pointer_width = "64"))]
+rustc_data_structures::static_assert_size!(Context<'_>, 200);
 
 /// Shared mutable state used in [`Context`] and elsewhere.
 pub(crate) struct SharedContext<'tcx> {