Remove unnecessary discard of return value in debug::Writer

This commit is contained in:
bjorn3
2024-03-20 18:34:55 +01:00
parent 51c4be10e0
commit dc36d18812
+1 -1
View File
@@ -66,7 +66,7 @@ impl<'a> Writer<'a> {
#[cfg(feature = "graphical_debug")]
{
if let Some(ref mut display) = *self.display {
let _ = display.write(buf);
display.write(buf);
}
}