aboutsummaryrefslogtreecommitdiff
path: root/xtask
diff options
context:
space:
mode:
authorBlaž Hrastnik2022-02-07 05:03:04 +0000
committerBlaž Hrastnik2022-02-10 02:12:47 +0000
commitf88c077f992bbfc5ea3623441a9e2b2a0e9ca2b2 (patch)
tree4dd02bff7a5cfea44a3f5e217696ae0a3d39e236 /xtask
parentfdb9a1677b937e4975ff26d252c7da9f2a5df1f0 (diff)
Replace tendril with smartstring
Slightly smaller API surface, less dependencies.
Diffstat (limited to 'xtask')
-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 {