diff options
author | Lars Wirzenius <liw@liw.fi> | 2019-10-03 22:31:09 +0300 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2019-10-03 22:31:09 +0300 |
commit | 10214e0295d72c88cd61085da67b9fc0f01e9728 (patch) | |
tree | 4ee77d302d568147ea4b9321472d12ba820c5776 /src/parser.rs | |
parent | acbdce9918d7f7c0443fd6857b79b2737d1ce9ed (diff) | |
download | roadmap-10214e0295d72c88cd61085da67b9fc0f01e9728.tar.gz |
Change: add_step can't fail, don't return Result
Diffstat (limited to 'src/parser.rs')
-rw-r--r-- | src/parser.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/parser.rs b/src/parser.rs index 637220c..ac917eb 100644 --- a/src/parser.rs +++ b/src/parser.rs @@ -17,7 +17,7 @@ pub fn from_yaml(yaml: &str) -> Result<Roadmap, Box<dyn Error>> { for (name, value) in map { let step = step_from_value(&name, &value)?; - roadmap.add_step(&step)?; + roadmap.add_step(&step); } validate(&roadmap)?; |