1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-07-28 11:37:44 +00:00

Merge pull request #5617 from cakebaker/ls_remove_allow_unused_vars

ls: remove "#[allow(unused_variables)]"
This commit is contained in:
Sylvestre Ledru 2023-12-04 14:59:27 +01:00 committed by GitHub
commit 8b1a82edb9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2946,7 +2946,6 @@ fn classify_file(path: &PathData, out: &mut BufWriter<Stdout>) -> Option<char> {
///
/// Note that non-unicode sequences in symlink targets are dealt with using
/// [`std::path::Path::to_string_lossy`].
#[allow(unused_variables)]
#[allow(clippy::cognitive_complexity)]
fn display_file_name(
path: &PathData,