1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-08-07 08:27:46 +00:00

sort: remove needless allow

This commit is contained in:
Michael Debertol 2021-06-09 20:33:00 +02:00
parent 956ff57e2e
commit 6a3c1c19d9

View file

@ -1516,8 +1516,6 @@ fn get_hash<T: Hash>(t: &T) -> u64 {
}
fn random_shuffle(a: &str, b: &str, salt: &str) -> Ordering {
#![allow(clippy::comparison_chain)]
let da = get_hash(&[a, salt].concat());
let db = get_hash(&[b, salt].concat());