mirror of
https://github.com/typst/typst
synced 2025-07-30 07:47:55 +08:00
Revert "Hash twice"
This reverts commit 438efe2f869c96aa1f5a5b2cd5a903ad955ac9ad.
This commit is contained in:
parent
c9348a8b26
commit
ac95d8ba30
@ -534,7 +534,6 @@ fn prepare(
|
|||||||
//
|
//
|
||||||
// The element could already have a location even if it is not prepared
|
// The element could already have a location even if it is not prepared
|
||||||
// when it stems from a query.
|
// when it stems from a query.
|
||||||
std::hint::black_box(typst_utils::hash128(&elem));
|
|
||||||
let key = typst_utils::hash128(&elem);
|
let key = typst_utils::hash128(&elem);
|
||||||
if elem.location().is_none() && (locatable(elem) || elem.label().is_some()) {
|
if elem.location().is_none() && (locatable(elem) || elem.label().is_some()) {
|
||||||
let loc = locator.next_location(engine.introspector, key);
|
let loc = locator.next_location(engine.introspector, key);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user