misc clippy fixes

the trivial ones ;)

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
This commit is contained in:
Fabian Grünbichler
2022-02-08 14:57:16 +01:00
parent bb9e503964
commit dcf5a0f62d
32 changed files with 74 additions and 84 deletions

View File

@ -377,7 +377,7 @@ async fn get_request_parameters<S: 'static + BuildHasher + Send>(
}
}
param_schema.verify_json(&params)?;
return Ok(params);
Ok(params)
} else {
parse_query_parameters(param_schema, utf8_data, &parts, &uri_param)
}