Fixed case where .unwrap was being called instead of the Option just being propagated up the call chain
This commit is contained in:
parent
ff01738a60
commit
b1543f480a
1 changed files with 1 additions and 1 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue