We need to unwrap here (and it is save)
This commit is contained in:
parent
fda2c4feea
commit
08d6e8da13
1 changed files with 1 additions and 1 deletions
|
@ -51,7 +51,7 @@ fn main() {
|
||||||
let cmdenv = CommandEnv {
|
let cmdenv = CommandEnv {
|
||||||
rt: &rt,
|
rt: &rt,
|
||||||
bk: &backend,
|
bk: &backend,
|
||||||
matches: matches,
|
matches: matches.subcommand_matches(command).unwrap(),
|
||||||
};
|
};
|
||||||
|
|
||||||
let result = match commands.get(command) {
|
let result = match commands.get(command) {
|
||||||
|
|
Loading…
Reference in a new issue