refactor(commands): remove unused missing_param helper function

Remove dead code that was flagged by Rust compiler. Error handling is now unified through the AppError enum.
This commit is contained in:
Jason
2025-11-04 15:54:45 +08:00
parent 0778347f84
commit a6b6c199b4

View File

@@ -6,11 +6,6 @@ use crate::error::AppError;
use crate::provider::Provider;
use crate::services::{EndpointLatency, ProviderService, ProviderSortUpdate, SpeedtestService};
use crate::store::AppState;
fn missing_param(param: &str) -> String {
format!("缺少 {} 参数 (Missing {} parameter)", param, param)
}
use std::str::FromStr;
/// 获取所有供应商