summaryrefslogtreecommitdiff
path: root/src/exec/context.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/exec/context.rs')
-rw-r--r--src/exec/context.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/exec/context.rs b/src/exec/context.rs
index 2d419a56..9b235c29 100644
--- a/src/exec/context.rs
+++ b/src/exec/context.rs
@@ -75,7 +75,7 @@ impl ExecContext {
/// Push a word space into the active paragraph.
pub fn push_word_space(&mut self) {
- self.stack.par.push_soft(self.make_text_node(" "));
+ self.stack.par.push_soft(self.make_text_node(' '));
}
/// Push any node into the active paragraph.
@@ -107,7 +107,7 @@ impl ExecContext {
/// Apply a forced line break.
pub fn linebreak(&mut self) {
- self.stack.par.push_hard(self.make_text_node("\n"));
+ self.stack.par.push_hard(self.make_text_node('\n'));
}
/// Apply a forced paragraph break.