diff options
author | Lars Wirzenius <liw@liw.fi> | 2021-04-10 07:47:32 +0000 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2021-04-10 07:47:32 +0000 |
commit | 03d0ebf178826319cadfea5717181008e3a22685 (patch) | |
tree | 0cec7b189fc477d35d1a83e714cce54c96c394cd /src/typeset.rs | |
parent | 22719be2c3b13e4dd0463db10023d615a6bde847 (diff) | |
parent | de9ee5afd4ec8d3a4b0835b865d7f10c3bf8bb8e (diff) | |
download | subplot-03d0ebf178826319cadfea5717181008e3a22685.tar.gz |
Merge branch 'single-binary' into 'main'
Refactor into subplot binary
Closes #164
See merge request larswirzenius/subplot!136
Diffstat (limited to 'src/typeset.rs')
-rw-r--r-- | src/typeset.rs | 5 |
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 { |