clippy fixes

and one additional API fn "allow many parameters" addition.

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
This commit is contained in:
Fabian Grünbichler 2022-10-11 09:26:32 +02:00
parent dbd5906402
commit 4a13373c4b

View File

@ -246,7 +246,7 @@ fn test_human_byte_parser() -> Result<(), Error> {
}
let new = h.to_string();
if &new != as_str {
if new != *as_str {
bail!("to_string failed for '{}' ({:?} != {:?})", v, new, as_str);
}
Ok(())