mirror of
https://github.com/typst/typst
synced 2025-07-30 07:47:55 +08:00
Revert "Prepare twice"
This reverts commit e6b72525022772e7611d98e1ebf7358d5471ea21.
This commit is contained in:
parent
75f4a964f9
commit
42b45473c7
@ -356,14 +356,6 @@ fn visit_show_rules<'a>(
|
|||||||
// prepare it.
|
// prepare it.
|
||||||
let mut tags = None;
|
let mut tags = None;
|
||||||
if !prepared {
|
if !prepared {
|
||||||
std::hint::black_box(prepare(
|
|
||||||
s.engine,
|
|
||||||
s.locator,
|
|
||||||
output.clone().to_mut(),
|
|
||||||
&mut map.clone(),
|
|
||||||
styles,
|
|
||||||
));
|
|
||||||
|
|
||||||
tags = prepare(s.engine, s.locator, output.to_mut(), &mut map, styles)?;
|
tags = prepare(s.engine, s.locator, output.to_mut(), &mut map, styles)?;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user