diff options
author | Lars Wirzenius <liw@liw.fi> | 2022-02-26 10:37:51 +0200 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2022-02-26 10:37:51 +0200 |
commit | 32d4d5a33a7e086e080c2f40b5b77a83d4b46a92 (patch) | |
tree | c6fbf28ae2d66ff309cf66baccb10d23318e5ffd | |
parent | b8243f6167236507969740c95c1f1369ba6f938b (diff) | |
download | roadmap-32d4d5a33a7e086e080c2f40b5b77a83d4b46a92.tar.gz |
fix(map.rs): use a char instead of single-character string
Sponsored-by: author
-rw-r--r-- | src/map.rs | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -171,7 +171,7 @@ impl Roadmap { format!( "{} [label=\"{}\" style=filled fillcolor=\"{}\" shape=\"{}\"];\n", step.name(), - fill(step.label(), label_width).replace("\n", "\\n"), + fill(step.label(), label_width).replace('\n', "\\n"), Roadmap::get_status_color(step), Roadmap::get_status_shape(step), ) |