From 7cc34f8ecc2aadbc9b6d767c60002444c7f3cdd5 Mon Sep 17 00:00:00 2001 From: Imbus <> Date: Mon, 3 Jun 2024 10:27:00 +0200 Subject: [PATCH] Silence errors --- src/main.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index 0ea56da..2ce4d0c 100755 --- a/src/main.rs +++ b/src/main.rs @@ -1,3 +1,5 @@ +#![allow(unused_imports, unused_variables, dead_code)] + use iced::theme::{self, Theme}; use iced::widget::{button, column, row, text}; use iced::widget::{text_input, TextInput}; @@ -75,7 +77,6 @@ impl Sandbox for Counter { Message::SwitchTab(tab) => { self.current_tab = tab; } - _ => {} } }