Skip to content

Commit 0896c95

Browse files
Update xtask/src/hooks.rs
Co-authored-by: Emil Gardström <[email protected]>
1 parent d73c3ae commit 0896c95

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

xtask/src/hooks.rs

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -209,14 +209,9 @@ pub fn check(
209209
if python {
210210
checks.push("python");
211211
}
212-
let join_to = checks.len() - 1;
213-
let mut joined = checks[0..join_to].join(", ");
214-
if join_to > 1 {
215-
joined.push(',');
216-
}
217212
msg_info.info(format_args!(
218-
"Running {joined} and {} checks.",
219-
checks[join_to]
213+
"Running {} checks.",
214+
checks.join(",")
220215
))?;
221216

222217
let channel = get_channel_prefer_nightly(msg_info, toolchain)?;

0 commit comments

Comments
 (0)