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:
parent
55b3e4ea24
commit
66124454e3
1 changed files with 1 additions and 1 deletions
|
@ -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!")
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue