summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2022-02-26 08:38:43 +0000
committerLars Wirzenius <liw@liw.fi>2022-02-26 08:38:43 +0000
commitbc3f5a1ff285f2063b056174b9bca46b91bcb5a8 (patch)
treec6fbf28ae2d66ff309cf66baccb10d23318e5ffd
parent319df2e0b5117a376fdd463870120153dcb1a593 (diff)
parent32d4d5a33a7e086e080c2f40b5b77a83d4b46a92 (diff)
downloadroadmap-bc3f5a1ff285f2063b056174b9bca46b91bcb5a8.tar.gz
Merge branch 'fixes' into 'main'
fix(Cargo.toml): spelling of repository See merge request larswirzenius/roadmap!9
-rw-r--r--Cargo.toml2
-rw-r--r--src/map.rs2
2 files changed, 2 insertions, 2 deletions
diff --git a/Cargo.toml b/Cargo.toml
index a655588..077dcc6 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -5,7 +5,7 @@ authors = ["Lars Wirzenius <liw@liw.fi>"]
edition = "2018"
license = "MIT-0"
description = "model a project roadmap as a directed acyclic graph"
-repostiory = "https://gitlab.com/larswirzenius/roadmap"
+repository = "https://gitlab.com/larswirzenius/roadmap"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
diff --git a/src/map.rs b/src/map.rs
index b592fbd..3fe1e12 100644
--- a/src/map.rs
+++ b/src/map.rs
@@ -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),
)