fix lint errors

This commit is contained in:
monosans
2025-04-27 14:03:41 +03:00
parent 9d5cc5ffbc
commit d5c4301e64
2 changed files with 2 additions and 6 deletions
+1 -2
View File
@@ -1,6 +1,6 @@
use crate::proxy::ProxyType;
#[allow(dead_code)]
#[cfg_attr(not(feature="tui"), expect(dead_code))]
pub enum AppEvent {
GeoDbTotal(Option<u64>),
GeoDbDownloaded(usize),
@@ -20,6 +20,5 @@ pub enum Event {
Tick,
#[cfg(feature = "tui")]
Crossterm(crossterm::event::Event),
#[allow(dead_code)]
App(AppEvent),
}
+1 -4
View File
@@ -5,10 +5,9 @@
clippy::nursery,
clippy::cargo
)]
#![allow(
#![expect(
clippy::absolute_paths,
clippy::allow_attributes_without_reason,
clippy::allow_attributes,
clippy::arbitrary_source_item_ordering,
clippy::blanket_clippy_restriction_lints,
clippy::default_numeric_fallback,
@@ -21,8 +20,6 @@
clippy::mod_module_files,
clippy::multiple_crate_versions,
clippy::pattern_type_mismatch,
clippy::pub_with_shorthand,
clippy::too_many_lines,
clippy::question_mark_used,
clippy::shadow_reuse,
clippy::shadow_unrelated,