refactor: cleanup struct fields, resolve clippy lints, resolve/ignore svelte lints, checks error on warn

This commit is contained in:
2026-01-14 22:55:40 -06:00
parent e83133cfcc
commit 89e1ab097d
50 changed files with 276 additions and 1114 deletions
-2
View File
@@ -20,14 +20,12 @@ pub struct AppState {
#[derive(Debug)]
pub enum ProxyError {
Network(reqwest::Error),
Other(String),
}
impl std::fmt::Display for ProxyError {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
match self {
ProxyError::Network(e) => write!(f, "Network error: {e}"),
ProxyError::Other(s) => write!(f, "{s}"),
}
}
}