clippy: lower array-size-threshold to ~64 KiB

This commit is contained in:
xtqqczze
2026-04-16 22:05:14 +01:00
committed by Daniel Hofstetter
parent 40070cadfc
commit 4704caee08
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
allow-mixed-uninlined-format-args = false
array-size-threshold = 262144
array-size-threshold = 65538
avoid-breaking-exported-api = false
check-private-items = true
cognitive-complexity-threshold = 24
+1 -1
View File
@@ -29,7 +29,7 @@ use libc::S_IFIFO;
#[cfg(any(target_os = "linux", target_os = "android"))]
use uucore::pipes::{MAX_ROOTLESS_PIPE_SIZE, pipe, splice, splice_exact};
const BUF_SIZE: usize = 256 * 1024;
const BUF_SIZE: usize = 64 * 1024;
/// This is a Linux-specific function to count the number of bytes using the
/// `splice` system call, which is faster than using `read`.