Cargo fmt

This commit is contained in:
Speedy_Lex
2026-05-06 23:54:36 +02:00
parent eff610eac6
commit 2d4ab41de5
7 changed files with 29 additions and 21 deletions
+7 -1
View File
@@ -92,7 +92,13 @@ impl<L: LogSink> LogParams<L> {
.unwrap_or(true)
{
// Try reopening the log file once and retrying as musl does.
if !(self.open_logger().is_ok() && self.writer.as_mut().and_then(|w| w.writer().write_all(&buffer).ok()).is_some()) && self.opt.contains(Config::Console)
if !(self.open_logger().is_ok()
&& self
.writer
.as_mut()
.and_then(|w| w.writer().write_all(&buffer).ok())
.is_some())
&& self.opt.contains(Config::Console)
{
// TODO: Log error to /dev/console & Redox equivalent
}