fix(fmt): fix cargo fmt to pass static check

Fix cargo fmt

Fixes: #5639
Signed-off-by: Ji-Xinyou <jerryji0414@outlook.com>
This commit is contained in:
Ji-Xinyou 2022-11-11 14:02:39 +08:00 committed by Fabiano Fidêncio
parent 1bbcb413c9
commit c3f1922df6

View File

@ -85,9 +85,7 @@ async fn generic_ip_table_handler(
let body = Body::from(data);
Response::builder().body(body).map_err(|e| anyhow!(e))
}
_ => {
Err(anyhow!("Failed to get iptable"))
}
_ => Err(anyhow!("Failed to get iptable")),
},
Method::PUT => {