mirror of
https://github.com/sxyazi/yazi.git
synced 2026-05-13 08:16:40 +00:00
refactor: make Clippy happy
This commit is contained in:
parent
8c2a6dba90
commit
0b8aaba29b
33 changed files with 108 additions and 118 deletions
|
|
@ -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 }
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue