From b8243f6167236507969740c95c1f1369ba6f938b Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Sat, 26 Feb 2022 10:36:16 +0200 Subject: fix(Cargo.toml): spelling of repository Sponsored-by: author --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 "] 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 -- cgit v1.2.1 From 32d4d5a33a7e086e080c2f40b5b77a83d4b46a92 Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Sat, 26 Feb 2022 10:37:51 +0200 Subject: fix(map.rs): use a char instead of single-character string Sponsored-by: author --- src/map.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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), ) -- cgit v1.2.1