From 63d8645773ee0bf34363e46384ff1149c985bf28 Mon Sep 17 00:00:00 2001 From: Titus Wormer Date: Mon, 4 Jul 2022 21:03:42 +0200 Subject: Refactor code style --- build.rs | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'build.rs') diff --git a/build.rs b/build.rs index 6a05dfe..c2d57af 100644 --- a/build.rs +++ b/build.rs @@ -10,12 +10,7 @@ async fn main() { let value = if let Ok(value) = fs::read_to_string(data_url) { value } else { - let value = reqwest::get(url) - .await - .unwrap() - .text() - .await - .unwrap(); + let value = reqwest::get(url).await.unwrap().text().await.unwrap(); fs::write(data_url, value.clone()).unwrap(); -- cgit