aboutsummaryrefslogtreecommitdiffstats
path: root/build.rs
diff options
context:
space:
mode:
authorLibravatar Titus Wormer <tituswormer@gmail.com>2022-07-04 21:03:42 +0200
committerLibravatar Titus Wormer <tituswormer@gmail.com>2022-07-04 21:03:42 +0200
commit63d8645773ee0bf34363e46384ff1149c985bf28 (patch)
tree1ab533b48686ec0544d55b27e3352662bf203878 /build.rs
parent2bd50cd8082e686ee74adc0770cc63593b1718f1 (diff)
downloadmarkdown-rs-63d8645773ee0bf34363e46384ff1149c985bf28.tar.gz
markdown-rs-63d8645773ee0bf34363e46384ff1149c985bf28.tar.bz2
markdown-rs-63d8645773ee0bf34363e46384ff1149c985bf28.zip
Refactor code style
Diffstat (limited to '')
-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();