[No-auto] bin/core/ref: Fix Clippy warnings
Signed-off-by: flip1995 <hello@philkrones.com> Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
This commit is contained in:
parent
4579187549
commit
5b0817bcb6
1 changed files with 16 additions and 18 deletions
|
@ -69,9 +69,7 @@ fn main() {
|
|||
&version,
|
||||
"Reference files outside of the store",
|
||||
build_ui);
|
||||
rt.cli()
|
||||
.subcommand_name()
|
||||
.map(|name| {
|
||||
if let Some(name) = rt.cli().subcommand_name() {
|
||||
debug!("Call: {}", name);
|
||||
match name {
|
||||
"deref" => deref(&rt),
|
||||
|
@ -86,7 +84,7 @@ fn main() {
|
|||
.map(::std::process::exit);
|
||||
},
|
||||
};
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
fn deref(rt: &Runtime) {
|
||||
|
|
Loading…
Reference in a new issue