We need to unwrap here (and it is save)

This commit is contained in:
Matthias Beyer 2015-11-28 12:08:20 +01:00
parent fda2c4feea
commit 08d6e8da13

View file

@ -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) {