From ac95d8ba30624522e3a0e2da0c0f1f936a313a6b Mon Sep 17 00:00:00 2001 From: Laurenz Date: Fri, 18 Jul 2025 15:16:50 +0200 Subject: [PATCH] Revert "Hash twice" This reverts commit 438efe2f869c96aa1f5a5b2cd5a903ad955ac9ad. --- crates/typst-realize/src/lib.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/crates/typst-realize/src/lib.rs b/crates/typst-realize/src/lib.rs index e8d7cc8f6..b7a21e789 100644 --- a/crates/typst-realize/src/lib.rs +++ b/crates/typst-realize/src/lib.rs @@ -534,7 +534,6 @@ fn prepare( // // The element could already have a location even if it is not prepared // when it stems from a query. - std::hint::black_box(typst_utils::hash128(&elem)); let key = typst_utils::hash128(&elem); if elem.location().is_none() && (locatable(elem) || elem.label().is_some()) { let loc = locator.next_location(engine.introspector, key);