aboutsummaryrefslogtreecommitdiffstats
path: root/build.rs
diff options
context:
space:
mode:
Diffstat (limited to 'build.rs')
-rw-r--r--build.rs7
1 files changed, 1 insertions, 6 deletions
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();