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:
@@ -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;
|
||||
|
||||
/// 获取所有供应商
|
||||
|
||||
Reference in New Issue
Block a user