prefer match
This commit is contained in:
parent
0cd2d364aa
commit
e5c9cb6024
@ -18,10 +18,9 @@ async fn main() {
|
|||||||
}
|
}
|
||||||
let exit_listener = ExitListener::new();
|
let exit_listener = ExitListener::new();
|
||||||
|
|
||||||
let config = if let Some(aux) = utils::get_config().await {
|
let config = match utils::get_config().await {
|
||||||
aux
|
Some(aux) => aux,
|
||||||
} else {
|
None => return,
|
||||||
return;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
let mut cloudflare =
|
let mut cloudflare =
|
||||||
|
Loading…
x
Reference in New Issue
Block a user