summaryrefslogtreecommitdiff
path: root/src/typeset.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/typeset.rs')
-rw-r--r--src/typeset.rs5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/typeset.rs b/src/typeset.rs
index a30df6f..ca257a9 100644
--- a/src/typeset.rs
+++ b/src/typeset.rs
@@ -92,10 +92,7 @@ fn step(
}
};
- let mut inlines = Vec::new();
-
- inlines.push(keyword(&step));
- inlines.push(space());
+ let mut inlines = vec![keyword(&step), space()];
for part in m.parts() {
match part {