diff options
author | Titus Wormer <tituswormer@gmail.com> | 2022-07-04 21:03:42 +0200 |
---|---|---|
committer | Titus Wormer <tituswormer@gmail.com> | 2022-07-04 21:03:42 +0200 |
commit | 63d8645773ee0bf34363e46384ff1149c985bf28 (patch) | |
tree | 1ab533b48686ec0544d55b27e3352662bf203878 /build.rs | |
parent | 2bd50cd8082e686ee74adc0770cc63593b1718f1 (diff) | |
download | markdown-rs-63d8645773ee0bf34363e46384ff1149c985bf28.tar.gz markdown-rs-63d8645773ee0bf34363e46384ff1149c985bf28.tar.bz2 markdown-rs-63d8645773ee0bf34363e46384ff1149c985bf28.zip |
Refactor code style
Diffstat (limited to 'build.rs')
-rw-r--r-- | build.rs | 7 |
1 files changed, 1 insertions, 6 deletions
@@ -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(); |