Revert "Next twice"

This reverts commit 777a60f2dd511ae1c14cf8d056550dc3ebef20c0.
This commit is contained in:
Laurenz 2025-07-18 15:16:48 +02:00
parent 1fbfb1e796
commit 4163fd59a6

View File

@ -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);
}