aboutsummaryrefslogtreecommitdiff
path: root/xtask/src
diff options
context:
space:
mode:
Diffstat (limited to 'xtask/src')
-rw-r--r--xtask/src/main.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/xtask/src/main.rs b/xtask/src/main.rs
index 7256653a..d24a29cc 100644
--- a/xtask/src/main.rs
+++ b/xtask/src/main.rs
@@ -120,7 +120,7 @@ pub mod md_gen {
}
fn md_table_row(cols: &[String]) -> String {
- "| ".to_owned() + &cols.join(" | ") + " |\n"
+ format!("| {} |\n", cols.join(" | "))
}
fn md_mono(s: &str) -> String {