aboutsummaryrefslogtreecommitdiffstats
path: root/build.rs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--build.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/build.rs b/build.rs
index 8d24e6c..e9d8bda 100644
--- a/build.rs
+++ b/build.rs
@@ -48,7 +48,7 @@ async fn commonmark() {
let parts = re_in_out.split(&case).collect::<Vec<_>>();
let input = format!("{}\n", parts[0]);
let output = if parts[1].is_empty() {
- "".to_string()
+ "".into()
} else {
format!("{}\n", parts[1])
};