From db5d7437389eac5f63ad32e3b50d95b2b86065d1 Mon Sep 17 00:00:00 2001 From: Wez Furlong Date: Sun, 5 Oct 2025 11:00:37 +0100 Subject: [PATCH] toast: fixup dead code warning The type isn't constructed, but it is part of the interface --- wezterm-toast-notification/src/dbus.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/wezterm-toast-notification/src/dbus.rs b/wezterm-toast-notification/src/dbus.rs index 040f098d2..55d985cf2 100644 --- a/wezterm-toast-notification/src/dbus.rs +++ b/wezterm-toast-notification/src/dbus.rs @@ -9,6 +9,7 @@ use zbus::proxy; use zvariant::{Type, Value}; #[derive(Debug, Type, Serialize, Deserialize)] +#[allow(dead_code)] pub struct ServerInformation { /// The product name of the server. pub name: String,