diff options
| author | Laurenz <laurmaedje@gmail.com> | 2021-08-13 17:44:21 +0200 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2021-08-13 18:17:24 +0200 |
| commit | f6814b7732931ab0f1bfc4028122522f53d6af0c (patch) | |
| tree | 7be18b17ebb8e61bd2590d544fa8deb8e5315274 /src/exec/mod.rs | |
| parent | 6a3385e4e77ce7672bcc80941bf02c8218f344a2 (diff) | |
Optimize memory sizes
Diffstat (limited to 'src/exec/mod.rs')
| -rw-r--r-- | src/exec/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/exec/mod.rs b/src/exec/mod.rs index 762b555d..373a3263 100644 --- a/src/exec/mod.rs +++ b/src/exec/mod.rs @@ -52,8 +52,8 @@ impl ExecWithMap for SyntaxTree { impl ExecWithMap for SyntaxNode { fn exec_with_map(&self, ctx: &mut ExecContext, map: &ExprMap) { match self { - Self::Text(text) => ctx.push_text(text), Self::Space => ctx.push_word_space(), + Self::Text(text) => ctx.push_text(text), Self::Linebreak(_) => ctx.linebreak(), Self::Parbreak(_) => ctx.parbreak(), Self::Strong(_) => ctx.state.font_mut().strong ^= true, |
