Fixed case where .unwrap was being called instead of the Option just being propagated up the call chain

This commit is contained in:
Josh Marlow 2017-10-17 21:31:15 -04:00 committed by theduke
parent ff01738a60
commit b1543f480a

View file

@ -111,7 +111,7 @@ impl<'a> Arguments<'a> {
{
match self.args {
Some(ref args) => match args.get(key) {
Some(v) => Some(v.convert().unwrap()),
Some(v) => v.convert(),
None => None,
},
None => None,