mirror of
https://github.com/esp-rs/esp-hal.git
synced 2025-10-01 06:11:03 +00:00
Fix nightly woes (#3422)
This commit is contained in:
parent
8f717c49bb
commit
e0c4ae75d2
@ -164,7 +164,7 @@ fn do_alert(color: Color, input: TokenStream) -> TokenStream {
|
|||||||
|
|
||||||
if let Some(heading) = maybe_heading {
|
if let Some(heading) = maybe_heading {
|
||||||
stderr.set_color(color_spec.clone().set_bold(true)).ok();
|
stderr.set_color(color_spec.clone().set_bold(true)).ok();
|
||||||
write!(stderr, "\n{}", heading).ok();
|
write!(stderr, "\n{heading}").ok();
|
||||||
has_nonspace = true;
|
has_nonspace = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -175,7 +175,7 @@ fn do_alert(color: Color, input: TokenStream) -> TokenStream {
|
|||||||
writeln!(stderr).ok();
|
writeln!(stderr).ok();
|
||||||
} else {
|
} else {
|
||||||
stderr.set_color(&color_spec).ok();
|
stderr.set_color(&color_spec).ok();
|
||||||
writeln!(stderr, "{}", line).ok();
|
writeln!(stderr, "{line}").ok();
|
||||||
|
|
||||||
has_nonspace = has_nonspace || line.contains(|ch: char| ch != ' ');
|
has_nonspace = has_nonspace || line.contains(|ch: char| ch != ' ');
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user