mirror of
https://github.com/rust-lang/cargo.git
synced 2025-10-01 11:30:39 +00:00
Auto merge of #9033 - ehuss:redundant_semicolons, r=Eh2406
Fix redundant semicolon. Lint introduced by https://github.com/rust-lang/rust/pull/79812.
This commit is contained in:
commit
0cf6d2497a
@ -105,7 +105,7 @@ fn color() {
|
|||||||
return s.replace("\x1b[0m\x1b[0m", "\x1b[0m");
|
return s.replace("\x1b[0m\x1b[0m", "\x1b[0m");
|
||||||
#[cfg(not(windows))]
|
#[cfg(not(windows))]
|
||||||
return s.to_string();
|
return s.to_string();
|
||||||
};
|
}
|
||||||
|
|
||||||
let compare = |a, b| {
|
let compare = |a, b| {
|
||||||
assert_eq!(normalize(a), normalize(b));
|
assert_eq!(normalize(a), normalize(b));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user