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-23 01:03:31 +0100
committerGuillaume Gomez <guillaume1.gomez@gmail.com>2024-12-01 21:54:55 +0100
commit46afbc0588316cb3e5def6c8b4ccbaefdfaedb7f (patch)
tree70920485e60cde4a54bd38eb0722dab161ecd21b /src/librustdoc/html/render
parent8047340599763eeca43a0dcee1b1f6b65b6d4ecd (diff)
downloadrust-46afbc0588316cb3e5def6c8b4ccbaefdfaedb7f.tar.gz
rust-46afbc0588316cb3e5def6c8b4ccbaefdfaedb7f.zip
Split ID maps in two parts: the constant one and the updated one
Diffstat (limited to 'src/librustdoc/html/render')
-rw-r--r--src/librustdoc/html/render/context.rs6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/librustdoc/html/render/context.rs b/src/librustdoc/html/render/context.rs
index 0b87c1bb62c..bc1f0423c17 100644
--- a/src/librustdoc/html/render/context.rs
+++ b/src/librustdoc/html/render/context.rs
@@ -87,12 +87,6 @@ impl ContextInfo {
     }
 }
 
-// `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<'_>, 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> {
     pub(crate) tcx: TyCtxt<'tcx>,