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

refactor/polish ~ fix cargo clippy complaints (remove ->())

This commit is contained in:
Roy Ivy III 2019-12-26 00:10:15 -06:00
parent 55b3e4ea24
commit 66124454e3

View file

@ -96,7 +96,7 @@ fn detect_algo(
}, },
_ => { _ => {
{ {
let mut set_or_crash = |n, val, bits| -> () { let mut set_or_crash = |n, val, bits| {
if alg.is_some() { if alg.is_some() {
crash!(1, "You cannot combine multiple hash algorithms!") crash!(1, "You cannot combine multiple hash algorithms!")
}; };