From 20231f0900c2fd07e40faafcd5cdbe4aff9f1375 Mon Sep 17 00:00:00 2001 From: littleblack111 Date: Tue, 4 Aug 2026 18:26:37 +0800 Subject: fix: cargo warnings --- qml_plugin/src/launcher/mathcalc.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'qml_plugin/src/launcher/mathcalc.rs') diff --git a/qml_plugin/src/launcher/mathcalc.rs b/qml_plugin/src/launcher/mathcalc.rs index 8c24a92..5b67d2f 100644 --- a/qml_plugin/src/launcher/mathcalc.rs +++ b/qml_plugin/src/launcher/mathcalc.rs @@ -1,6 +1,6 @@ use cxx_qt::{CxxQtType, Threading}; use cxx_qt_lib::{QString, QVariant}; -use kalk::{calculation_result::CalculationResult, parser}; +use kalk::parser; use std::{pin::Pin, sync::Arc}; use tokio::sync::Mutex; use unwrap_print::PrintableResult; @@ -102,7 +102,7 @@ impl qobject::MathCalc { ) }, ); - qt_thread + _ = qt_thread .queue( |mut qo| { qo.as_mut() -- cgit v1.2.3