mirror of
https://github.com/esp-rs/esp-hal.git
synced 2025-09-30 05:40:39 +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 {
|
||||
stderr.set_color(color_spec.clone().set_bold(true)).ok();
|
||||
write!(stderr, "\n{}", heading).ok();
|
||||
write!(stderr, "\n{heading}").ok();
|
||||
has_nonspace = true;
|
||||
}
|
||||
|
||||
@ -175,7 +175,7 @@ fn do_alert(color: Color, input: TokenStream) -> TokenStream {
|
||||
writeln!(stderr).ok();
|
||||
} else {
|
||||
stderr.set_color(&color_spec).ok();
|
||||
writeln!(stderr, "{}", line).ok();
|
||||
writeln!(stderr, "{line}").ok();
|
||||
|
||||
has_nonspace = has_nonspace || line.contains(|ch: char| ch != ' ');
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user