diff options
Diffstat (limited to 'library/src/text')
| -rw-r--r-- | library/src/text/raw.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/library/src/text/raw.rs b/library/src/text/raw.rs index 3f03ba8e..b6cc0d3d 100644 --- a/library/src/text/raw.rs +++ b/library/src/text/raw.rs @@ -121,8 +121,8 @@ impl RawNode { } impl Synthesize for RawNode { - fn synthesize(&self, _: &mut Vt, styles: StyleChain) -> Content { - self.clone().with_lang(self.lang(styles)).pack() + fn synthesize(&mut self, _: &Vt, styles: StyleChain) { + self.push_lang(self.lang(styles)); } } |
