summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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),
)