diff options
author | Lars Wirzenius <liw@liw.fi> | 2019-09-24 10:38:54 +0300 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2019-09-24 10:38:54 +0300 |
commit | f01608de3b69d9a647ffdb4ca86a447d553a111f (patch) | |
tree | d0cf4ace8fc3d7c6496eee8dc334af8083703b27 /src/lib.rs | |
parent | 6a0ece8215007c3e7d68a10dc89e8d656306a246 (diff) | |
download | roadmap-f01608de3b69d9a647ffdb4ca86a447d553a111f.tar.gz |
Fix: drop unused variables
Diffstat (limited to 'src/lib.rs')
-rw-r--r-- | src/lib.rs | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -111,10 +111,8 @@ impl Roadmap { // Convert a Value into a Step, if possible. fn step_from_value(name: &str, value: &Value) -> Result<Step, &'static str> { - let deps_key = Value::String("depends".to_string()); - match value { - Value::Mapping(map) => { + Value::Mapping(_) => { let label = Roadmap::parse_label(&value); let mut step = Step::new(name, label); |