From 4163fd59a6e4faef2befbf6d0c334866053af458 Mon Sep 17 00:00:00 2001 From: Laurenz Date: Fri, 18 Jul 2025 15:16:48 +0200 Subject: [PATCH] Revert "Next twice" This reverts commit 777a60f2dd511ae1c14cf8d056550dc3ebef20c0. --- 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 b8c0660f6..b7a21e789 100644 --- a/crates/typst-realize/src/lib.rs +++ b/crates/typst-realize/src/lib.rs @@ -536,7 +536,6 @@ fn prepare( // when it stems from a query. let key = typst_utils::hash128(&elem); if elem.location().is_none() && (locatable(elem) || elem.label().is_some()) { - std::hint::black_box(locator.next_location(engine.introspector, key)); let loc = locator.next_location(engine.introspector, key); elem.set_location(loc); }