diff options
| author | Laurenz <laurmaedje@gmail.com> | 2022-12-30 19:40:29 +0100 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2022-12-30 20:00:50 +0100 |
| commit | a6d90c1bf1e9fefa0af04206909a40e112d6bb14 (patch) | |
| tree | fc16276142f74b9a50102a2e855942f7e2593c25 /src/model/realize.rs | |
| parent | f70cea508cd30fa40770ea989fe2a19e715a357b (diff) | |
Numbering functions
Diffstat (limited to 'src/model/realize.rs')
| -rw-r--r-- | src/model/realize.rs | 7 |
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. |
