summaryrefslogtreecommitdiff
path: root/src/model/realize.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/model/realize.rs')
-rw-r--r--src/model/realize.rs7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/model/realize.rs b/src/model/realize.rs
index 862bc8b6..39c1fd42 100644
--- a/src/model/realize.rs
+++ b/src/model/realize.rs
@@ -136,7 +136,12 @@ fn try_apply(
#[capability]
pub trait Prepare {
/// Prepare the node for show rule application.
- fn prepare(&self, vt: &mut Vt, this: Content, styles: StyleChain) -> Content;
+ fn prepare(
+ &self,
+ vt: &mut Vt,
+ this: Content,
+ styles: StyleChain,
+ ) -> SourceResult<Content>;
}
/// The base recipe for a node.