summaryrefslogtreecommitdiff
path: root/src/err.rs
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2022-01-21 09:07:20 +0200
committerLars Wirzenius <liw@liw.fi>2022-01-21 09:07:20 +0200
commita73712df8840c63210ce8aceed9d0738931e5317 (patch)
tree26ff0fec7701f6d97f9ec9e3e9dd96ed7c228057 /src/err.rs
parent360339dbd0f4a61fd840cb3ef2a756065593b950 (diff)
downloadroadmap-a73712df8840c63210ce8aceed9d0738931e5317.tar.gz
refactor: format code with rustfmt
Sponsored-by: author
Diffstat (limited to 'src/err.rs')
-rw-r--r--src/err.rs10
1 files changed, 2 insertions, 8 deletions
diff --git a/src/err.rs b/src/err.rs
index b928b09..c5210f1 100644
--- a/src/err.rs
+++ b/src/err.rs
@@ -7,16 +7,10 @@ pub enum RoadmapError {
NoGoals,
#[error("too many goals, must have exactly one: found {count:}: {}", .names.join(", "))]
- ManyGoals {
- count: usize,
- names: Vec<String>,
- },
+ ManyGoals { count: usize, names: Vec<String> },
#[error("step {name:} depends on missing {missing:}")]
- MissingDep {
- name: String,
- missing: String,
- },
+ MissingDep { name: String, missing: String },
#[error("step is not a mapping")]
StepNotMapping,