From dc36d18812760828bc819afe2a807ff6af3a6775 Mon Sep 17 00:00:00 2001 From: bjorn3 <17426603+bjorn3@users.noreply.github.com> Date: Wed, 20 Mar 2024 18:34:55 +0100 Subject: [PATCH] Remove unnecessary discard of return value in debug::Writer --- src/arch/x86_shared/debug.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/arch/x86_shared/debug.rs b/src/arch/x86_shared/debug.rs index 4013e94f0c..dbfdf674e5 100644 --- a/src/arch/x86_shared/debug.rs +++ b/src/arch/x86_shared/debug.rs @@ -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); } }