aboutsummaryrefslogtreecommitdiff
path: root/xtask
diff options
context:
space:
mode:
Diffstat (limited to 'xtask')
-rw-r--r--xtask/src/tidy.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/xtask/src/tidy.rs b/xtask/src/tidy.rs
index e1a62da27..618cf12fb 100644
--- a/xtask/src/tidy.rs
+++ b/xtask/src/tidy.rs
@@ -249,14 +249,14 @@ Zlib OR Apache-2.0 OR MIT
249 if licenses != expected { 249 if licenses != expected {
250 let mut diff = String::new(); 250 let mut diff = String::new();
251 251
252 diff += &"New Licenses:\n".to_string(); 252 diff.push_str("New Licenses:\n");
253 for &l in licenses.iter() { 253 for &l in licenses.iter() {
254 if !expected.contains(&l) { 254 if !expected.contains(&l) {
255 diff += &format!(" {}\n", l) 255 diff += &format!(" {}\n", l)
256 } 256 }
257 } 257 }
258 258
259 diff += &"\nMissing Licenses:\n".to_string(); 259 diff.push_str("\nMissing Licenses:\n");
260 for &l in expected.iter() { 260 for &l in expected.iter() {
261 if !licenses.contains(&l) { 261 if !licenses.contains(&l) {
262 diff += &format!(" {}\n", l) 262 diff += &format!(" {}\n", l)