We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 629e8d1 commit a1e6500Copy full SHA for a1e6500
xtask/src/tidy.rs
@@ -249,14 +249,14 @@ Zlib OR Apache-2.0 OR MIT
249
if licenses != expected {
250
let mut diff = String::new();
251
252
- diff += &"New Licenses:\n".to_string();
+ diff.push_str("New Licenses:\n");
253
for &l in licenses.iter() {
254
if !expected.contains(&l) {
255
diff += &format!(" {}\n", l)
256
}
257
258
259
- diff += &"\nMissing Licenses:\n".to_string();
+ diff.push_str("\nMissing Licenses:\n");
260
for &l in expected.iter() {
261
if !licenses.contains(&l) {
262
0 commit comments