summaryrefslogtreecommitdiff
path: root/src/steps.rs
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2020-11-21 08:15:29 +0200
committerLars Wirzenius <liw@liw.fi>2020-11-21 08:43:56 +0200
commit1580169cae459b8d555e103c72a764929930ba30 (patch)
tree0a5c11fdddafb948fbbac48bb05b87c7e02ba207 /src/steps.rs
parent5e8fc5b2c0b1e42cfda4c28ea839f422e6c170d5 (diff)
downloadsubplot-1580169cae459b8d555e103c72a764929930ba30.tar.gz
chore(src/visitor/structure.rs): push a char instead of push_str
Doesn't change the result, but it's cleaner to push a character instead of push_str a single-character string.
Diffstat (limited to 'src/steps.rs')
-rw-r--r--src/steps.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/steps.rs b/src/steps.rs
index 9af526c..c8c1bf6 100644
--- a/src/steps.rs
+++ b/src/steps.rs
@@ -67,7 +67,7 @@ impl ScenarioStep {
let mut joined = String::new();
for word in words {
joined.push_str(word);
- joined.push_str(" ");
+ joined.push(' ');
}
if joined.len() > 1 {
joined.pop();