diff --git a/src/eval/show.rs b/src/eval/show.rs index 6157485d6..a6a48e6fc 100644 --- a/src/eval/show.rs +++ b/src/eval/show.rs @@ -4,12 +4,14 @@ use std::hash::{Hash, Hasher}; use std::sync::Arc; use super::{StyleChain, Template}; +use crate::diag::TypResult; use crate::util::Prehashed; +use crate::Vm; /// A node that can be realized given some styles. pub trait Show { /// Realize the template in the given styles. - fn show(&self, styles: StyleChain) -> Template; + fn show(&self, vm: &mut Vm, styles: StyleChain) -> TypResult