refactor: make Clippy happy

This commit is contained in:
sxyazi 2025-11-29 07:39:04 +08:00
parent 8c2a6dba90
commit 0b8aaba29b
No known key found for this signature in database
33 changed files with 108 additions and 118 deletions

View file

@ -60,7 +60,7 @@ tokio-stream = { workspace = true }
# Logging
tracing = { workspace = true }
tracing-appender = "0.2.4"
tracing-subscriber = { version = "0.3.20", features = [ "env-filter" ] }
tracing-subscriber = { version = "0.3.22", features = [ "env-filter" ] }
[target."cfg(unix)".dependencies]
libc = { workspace = true }

View file

@ -1,5 +1,3 @@
#![allow(clippy::if_same_then_else)]
#[cfg(all(not(target_os = "macos"), not(target_os = "windows")))]
#[global_allocator]
static GLOBAL: tikv_jemallocator::Jemalloc = tikv_jemallocator::Jemalloc;